---
title: "Cancel a background response"
method: POST
path: "/responses/{response_id}/cancel"
tags: ["Responses"]
---

# Cancel a background response

`POST /responses/{response_id}/cancel`

## Request

- Base URL: `https://api.munito.ai/inference/v1`
- URL: `https://api.munito.ai/inference/v1/responses/{response_id}/cancel`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

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

## Path parameters

- `response_id` string, required

## Response `200`

The cancelled response object.

---

[API](https://skmtc.dev/munito/apis/munito-ai-api.md) - [All operations](https://skmtc.dev/munito/apis/munito-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/munito/apis/munito-ai-api/revisions/d4ccbe8844df?raw)
