Skip to main content

Cancel a background response

POST 

/v1/responses/:response_id/cancel

Only a response created with background: true can be cancelled, as on OpenAI. Every request completes synchronously, so a stored background response is already terminal and this returns it unchanged; any other response is a 400.

Request

Responses

The stored response, already terminal.