Cancel a background response

POST /responses/{response_id}/cancel

Cancels an in-progress response created with background: true. Returns the response object with status cancelled.

POST
/responses/{response_id}/cancel

Authorization

AuthorizationBearer <token>

Your Munito API key.

In: header

Path Parameters

response_id*string

The background response to cancel.

Response Body

application/json

curl -X POST "https://example.com/responses/string/cancel"
{
  "id": "resp_9f41c2d7b3a8",
  "object": "response",
  "status": "cancelled",
  "model": "qwen/qwen3.8-27b",
  "output": []
}