---
title: "Cancel"
method: POST
path: "/api/v1/index/searches/{search_id}/cancel"
tags: ["index"]
---

# Cancel

`POST /api/v1/index/searches/{search_id}/cancel`

## Request

- Base URL: `https://api.usesynth.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usesynth.ai/api/v1/index/searches/{search_id}/cancel`
- Auth: none declared

## Path parameters

- `search_id` string, uuid, required

## Response `200`

Successful Response

- SearchCancellation
  - `search_id` string, required
  - `state` 'queued' | 'running' | 'completed' | 'failed' | 'cancelled', required
  - `cancellation_requested` true

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usesynth/apis/synth-api.md) - [All operations](https://skmtc.dev/usesynth/apis/synth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usesynth/apis/synth-api/revisions/4d199548e98a?raw)
