Query
query WorktreeMergeBatches {
worktreeMergeBatches {
id
appId
agentId
status
items {
id
worktreeId
repositoryName
agentName
branch
folder
}
createdAt
}
}Response
{
"data": {
"worktreeMergeBatches": [
{
"id": "id",
"appId": "id",
"agentId": "id",
"status": "ACTIVE",
"items": [
{
"id": "id",
"worktreeId": "id",
"repositoryName": "string",
"agentName": "string",
"branch": "string",
"folder": "string"
}
],
"createdAt": "string"
}
]
}
}Queries
worktreeMergeBatches
Load active Bulk Merge batches and the most recent completed batch for this exact page scope.
QUERY
worktreeMergeBatches(appId: ID, agentId: ID): [WorktreeMergeBatch!]!Arguments
appId
ID
App scope, or null for the global worktrees page.
agentId
ID
Global agent focus, if any.
Returns
id
ID!
Stable identifier of this submission.
appId
ID
App scope, or null for the global worktrees page.
agentId
ID
Global agent focus at submission time, if any.
status
Current state of the batch.
items
Selected worktrees and outcomes in submission order.
createdAt
String!
ISO 8601 submission timestamp.
updatedAt
String!
ISO 8601 timestamp of the last progress change.
finishedAt
String
ISO 8601 timestamp when all rows reached a final outcome.
Query
query WorktreeMergeBatches {
worktreeMergeBatches {
id
appId
agentId
status
items {
id
worktreeId
repositoryName
agentName
branch
folder
}
createdAt
}
}Response
{
"data": {
"worktreeMergeBatches": [
{
"id": "id",
"appId": "id",
"agentId": "id",
"status": "ACTIVE",
"items": [
{
"id": "id",
"worktreeId": "id",
"repositoryName": "string",
"agentName": "string",
"branch": "string",
"folder": "string"
}
],
"createdAt": "string"
}
]
}
}