query AgentJobsByIds($ids: [ID!]!) {
agentJobsByIds(ids: $ids) {
id
agentId
worktreeId
kind
commandName
payload
}
}{
"ids": [
"id"
]
}{
"data": {
"agentJobsByIds": [
{
"id": "id",
"agentId": "id",
"worktreeId": "id",
"kind": "string",
"commandName": "string",
"payload": "value"
}
]
}
}agentJobsByIds
Returns jobs in one bounded lookup, preserving agent ownership restrictions.
agentJobsByIds(ids: [ID!]!): [AgentJob!]!Arguments
Identifiers of the jobs to retrieve; at most 200 unique IDs.
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.
The saved command name captured when this job's command run started. Null for other jobs or unavailable runs.
Structured payload associated with this agent job.
Versioned execution resources used for worktree-scoped scheduling.
The resource currently keeping this queued job from executing.
Ownership token returned to the executing agent.
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.
Typed output of a successful Jira branch generation job.
query AgentJobsByIds($ids: [ID!]!) {
agentJobsByIds(ids: $ids) {
id
agentId
worktreeId
kind
commandName
payload
}
}{
"ids": [
"id"
]
}{
"data": {
"agentJobsByIds": [
{
"id": "id",
"agentId": "id",
"worktreeId": "id",
"kind": "string",
"commandName": "string",
"payload": "value"
}
]
}
}