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
- 200
- 400
- 401
- 404
The stored response, already terminal.
The response was not created with background: true.
Missing or invalid Authorization: Bearer mdb_… (invalid_credentials).
No stored response with this id, or it has expired (response_not_found).