cancelInputRequest

Cancel an input request.

Arguments

  • commandRunsCancelInputRequestCommand!required

  • command.inputRequestIdID!required

    Input request to cancel. A fresh cancellation of an already-resolved request returns 409; only an open request can be cancelled. Requires project.runs.write on the run’s project and, for a request in a conversation, editor access on that conversation. An authorized retry of the identical request with the same idempotency key returns its stored result.

  • idempotencyKeyString

    Retry key for this mutation (1–128 characters); overrides Idempotency-Key.

Responses

mutation CancelInputRequest($command: RunsCancelInputRequestCommand!) {  cancelInputRequest(command: $command) {    inputRequestId    projectId    runId    kind    responderRules {      excludeRunStarters      requiredCapability      stepUpSeconds      excludedUserIds    }    toolCall {      name      arguments    }    delivery    title    fields    status    requestedResponderType    response    createdAt    expiresAt    resolvedAt    toolCallId    conversationId    description    metadata    canRespond  }}
{  "data": {    "cancelInputRequest": {      "inputRequestId": "string",      "projectId": "string",      "runId": "string",      "kind": "string",      "responderRules": {        "excludeRunStarters": false,        "requiredCapability": "string",        "stepUpSeconds": 0,        "excludedUserIds": [          "string"        ]      },      "toolCall": {        "name": "string",        "arguments": {}      },      "delivery": "string",      "title": "string",      "fields": [        {}      ],      "status": "string",      "requestedResponderType": "string",      "response": {},      "createdAt": "string",      "expiresAt": "string",      "resolvedAt": "string",      "toolCallId": "string",      "conversationId": "string",      "description": "string",      "metadata": {},      "canRespond": false    }  }}

The RunsInputRequest! in data.cancelInputRequest.