Skip to main content
MUTATION
completeRunCommand(id: ID!, status: String!, error: String): RunCommand!

Arguments

id
ID!
required

Identifier of the resource to return or affect.

status
String!
required

The status used to filter or perform the operation.

error
String

The error used to filter or perform the operation.

Returns

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.

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.

Mutation
Variables
Response