Skip to Content

Cancel a background response

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

POST
/responses/{response_id}/cancel

Authorization

headerAuthorizationBearer <token>

Your Munito API key.

Path Parameters

response_id*string

The background response to cancel.

Response Body

The cancelled response object.

application/json
curl -X POST 'https://api.munito.ai/inference/v1/responses/string/cancel'
Example Response200
{
  "id": "resp_9f41c2d7b3a8",
  "object": "response",
  "status": "cancelled",
  "model": "qwen/qwen3.8-27b",
  "output": []
}