Skip to main content

CancelAgentRunInput

Immediately request cancellation of one active session run.

input CancelAgentRunInput {
idempotencyKey: String!
sessionId: String!
clientEpoch: BigInt!
runId: String
}

Fields

CancelAgentRunInput.idempotencyKey ● String! non-null scalar

Required retry key. Same owner, operation, key, and input replay the first result; changed input returns IDEMPOTENCY_CONFLICT.

CancelAgentRunInput.sessionId ● String! non-null scalar

Owner/app session UUID.

CancelAgentRunInput.clientEpoch ● BigInt! non-null scalar

Current attached client epoch.

CancelAgentRunInput.runId ● String scalar

Active run UUID to cancel; omit to cancel the session currentRun.

Member Of

crowdyStudioAgentCancelRun mutation