Query
query WorktreeSyncBatch($id: ID!) {
worktreeSyncBatch(id: $id) {
id
appId
agentId
status
items {
id
worktreeId
codebaseId
agentId
agentName
repositoryId
}
createdAt
}
}Variables
{
"id": "id"
}Response
{
"data": {
"worktreeSyncBatch": {
"id": "id",
"appId": "id",
"agentId": "id",
"status": "ACTIVE",
"items": [
{
"id": "id",
"worktreeId": "id",
"codebaseId": "id",
"agentId": "id",
"agentName": "string",
"repositoryId": "id"
}
],
"createdAt": "string"
}
}
}Queries
worktreeSyncBatch
Load progress and retained outcomes of a Bulk Sync batch.
QUERY
worktreeSyncBatch(id: ID!): WorktreeSyncBatchArguments
id
ID!
required
Batch identifier.
Returns
id
ID!
Stable batch identifier.
appId
ID
App scope, or null for the global worktrees page.
agentId
ID
Global agent focus when the batch was started.
status
Current batch progress.
items
[WorktreeSyncItem!]!
Worktrees selected for this batch in submission order.
createdAt
String!
ISO 8601 creation timestamp.
updatedAt
String!
ISO 8601 last progress timestamp.
finishedAt
String
ISO 8601 completion timestamp.
Query
query WorktreeSyncBatch($id: ID!) {
worktreeSyncBatch(id: $id) {
id
appId
agentId
status
items {
id
worktreeId
codebaseId
agentId
agentName
repositoryId
}
createdAt
}
}Variables
{
"id": "id"
}Response
{
"data": {
"worktreeSyncBatch": {
"id": "id",
"appId": "id",
"agentId": "id",
"status": "ACTIVE",
"items": [
{
"id": "id",
"worktreeId": "id",
"codebaseId": "id",
"agentId": "id",
"agentName": "string",
"repositoryId": "id"
}
],
"createdAt": "string"
}
}
}