Cancel input request

http
POST /input-requests/{input_request_id}/cancel

Cancel an input request.

Parameters

NameInRequiredDescription
input_request_idpathYesInput 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.
Idempotency-KeyheaderYes

Responses

StatusDescription
200Cancelled input request
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Rate limit exceeded