---
title: "Cancel a run"
method: POST
path: "/api/research-lab/autopilot/{id}/cancel"
---

# Cancel a run

`POST /api/research-lab/autopilot/{id}/cancel`

## Request

- Base URL: `https://api.aetherya.ai`
- URL: `https://api.aetherya.ai/api/research-lab/autopilot/{id}/cancel`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Headers

- `X-Aetherya-Workspace-Id` string

## Response `200`

The autopilot run.

- object
  - `id` string
  - `status` 'queued' | 'running' | 'awaiting_clarification' | 'awaiting_confirm' | 'completed' | 'failed' | 'cancelled'
  - `step` string
  - `estimate` object
    - `sessions` number: The figure to pass back as acceptedSessions.
  - `brief` object: Decision brief once completed: answer, confidence, reasons, risks, doNext, caveat.
  - `error` string

---

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