---
title: "Cancel Research"
method: POST
path: "/v1/research/{id}/cancel"
tags: ["Research"]
---

# Cancel Research

`POST /v1/research/{id}/cancel`

Cancel a running research task.

Sets status to 'cancelled' in the database. The deepresearch worker
periodically checks this flag and will gracefully exit.

## Path parameters

- `id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ResearchStatus — Lightweight status response for create, refresh, cancel, and status endpoints.
  - `id` string, required — Research ID
  - `type` string, required — Artifact type (report or dashboard)
  - `status` string, required — Current status
  - `query` string, required — Research query

## Other responses

- `422` — Validation Error

---

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