mutation ReportBranchDeletionResult($jobId: ID!, $result: BranchDeletionResultInput!) {
reportBranchDeletionResult(jobId: $jobId, result: $result) {
id
agentId
worktreeId
kind
payload
status
}
}{
"jobId": "id",
"result": {
"codebaseId": "id",
"branch": "string",
"outcome": "DELETED"
}
}{
"data": {
"reportBranchDeletionResult": {
"id": "id",
"agentId": "id",
"worktreeId": "id",
"kind": "string",
"payload": "value",
"status": "QUEUED"
}
}
}reportBranchDeletionResult
Persists a per-branch cleanup outcome using the owning agent’s credentials.
reportBranchDeletionResult(jobId: ID!, result: BranchDeletionResultInput!): AgentJob!Arguments
Running local branch cleanup job owned by the reporting agent.
Completed outcome for one of this job's selected local branches.
Returns
Stable identifier for this agent job.
Identifier of the related agent.
Identifier of the related worktree. May be null when unavailable or not applicable.
Category of this agent job.
Structured payload associated with this agent job.
Current status of this agent job.
The idempotency key associated with this agent job.
Structured result associated with this agent job. May be null when unavailable or not applicable.
Error message when this agent job did not complete successfully. May be null when unavailable or not applicable.
Timeout, in seconds.
ISO 8601 timestamp when this agent job was created.
ISO 8601 timestamp when this agent job started. May be null when unavailable or not applicable.
ISO 8601 timestamp when this agent job finished. May be null when unavailable or not applicable.
ISO 8601 timestamp when this agent job was last updated.
Registered checkout this job operates on, when applicable.
Per-branch outcomes from a local branch cleanup job; null until results are available.
Typed worktree-operation result when this is a worktree operation job.
mutation ReportBranchDeletionResult($jobId: ID!, $result: BranchDeletionResultInput!) {
reportBranchDeletionResult(jobId: $jobId, result: $result) {
id
agentId
worktreeId
kind
payload
status
}
}{
"jobId": "id",
"result": {
"codebaseId": "id",
"branch": "string",
"outcome": "DELETED"
}
}{
"data": {
"reportBranchDeletionResult": {
"id": "id",
"agentId": "id",
"worktreeId": "id",
"kind": "string",
"payload": "value",
"status": "QUEUED"
}
}
}