Mutation
mutation StartWorktreeMergeBatch($input: StartWorktreeMergeBatchInput!) {
startWorktreeMergeBatch(input: $input) {
id
appId
agentId
status
items {
id
worktreeId
repositoryName
agentName
branch
folder
}
createdAt
}
}Variables
{
"input": {
"requestId": "id",
"items": [
{
"worktreeId": "id",
"requestKey": "string",
"reviewedHeadSha": "string",
"reviewedTargetBranch": "string"
}
]
}
}Response
{
"data": {
"startWorktreeMergeBatch": {
"id": "id",
"appId": "id",
"agentId": "id",
"status": "ACTIVE",
"items": [
{
"id": "id",
"worktreeId": "id",
"repositoryName": "string",
"agentName": "string",
"branch": "string",
"folder": "string"
}
],
"createdAt": "string"
}
}
}Mutations
startWorktreeMergeBatch
Persist and start a background Bulk Merge batch.
MUTATION
startWorktreeMergeBatch(input: StartWorktreeMergeBatchInput!): WorktreeMergeBatch!Arguments
input
required
Reviewed rows and the scope where the batch was submitted.
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.
Mutation
mutation StartWorktreeMergeBatch($input: StartWorktreeMergeBatchInput!) {
startWorktreeMergeBatch(input: $input) {
id
appId
agentId
status
items {
id
worktreeId
repositoryName
agentName
branch
folder
}
createdAt
}
}Variables
{
"input": {
"requestId": "id",
"items": [
{
"worktreeId": "id",
"requestKey": "string",
"reviewedHeadSha": "string",
"reviewedTargetBranch": "string"
}
]
}
}Response
{
"data": {
"startWorktreeMergeBatch": {
"id": "id",
"appId": "id",
"agentId": "id",
"status": "ACTIVE",
"items": [
{
"id": "id",
"worktreeId": "id",
"repositoryName": "string",
"agentName": "string",
"branch": "string",
"folder": "string"
}
],
"createdAt": "string"
}
}
}