---
title: "Cancel Discovery Run"
method: POST
path: "/v1/discovery/runs/{run_id}/cancel"
tags: ["Discovery"]
---

# Cancel Discovery Run

`POST /v1/discovery/runs/{run_id}/cancel`

## Request

- Base URL: `https://api.mindfort.app`
- URL: `https://api.mindfort.app/v1/discovery/runs/{run_id}/cancel`
- Auth: HTTP bearer

Requests cancellation of an active Discovery run and returns the run ID with its updated status.

## Path parameters

- `run_id` string, uuid, required

## Response `200`

Discovery run cancelled

- PublicDiscoveryCancelResponse
  - `run_id` string, required
  - `status` 'cancelled', required

---

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