Query
query PendingRunCommands {
pendingRunCommands {
id
runId
agentId
sequence
type
payload
}
}Response
{
"data": {
"pendingRunCommands": [
{
"id": "id",
"runId": "id",
"agentId": "id",
"sequence": 1,
"type": "string",
"payload": "value"
}
]
}
}Queries
pendingRunCommands
Returns run commands.
QUERY
pendingRunCommands: [RunCommand!]!Returns
[RunCommand!]!
id
ID!
Stable identifier for this run command.
runId
ID!
Identifier of the related run.
agentId
ID!
Identifier of the related agent.
sequence
Int!
Monotonically increasing sequence number used for ordering.
type
String!
Category of this run command.
payload
JSON!
Structured payload associated with this run command.
status
String!
Current status of this run command.
error
String
Error message when this run command did not complete successfully. May be null when unavailable or not applicable.
run
The run associated with this run command.
createdAt
String!
ISO 8601 timestamp when this run command was created.
claimedAt
String
ISO 8601 timestamp when this run command claimed. May be null when unavailable or not applicable.
finishedAt
String
ISO 8601 timestamp when this run command finished. May be null when unavailable or not applicable.
Query
query PendingRunCommands {
pendingRunCommands {
id
runId
agentId
sequence
type
payload
}
}Response
{
"data": {
"pendingRunCommands": [
{
"id": "id",
"runId": "id",
"agentId": "id",
"sequence": 1,
"type": "string",
"payload": "value"
}
]
}
}