---
title: "Cancel Run"
method: POST
path: "/api/admin/agent-eval/runs/{run_id}/cancel"
tags: ["admin"]
---

# Cancel Run

`POST /api/admin/agent-eval/runs/{run_id}/cancel`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/admin/agent-eval/runs/{run_id}/cancel`
- Auth: none declared

Force-terminate a queued or running run right now (TOS-2992).

Distinct from the automatic self-heal on `POST /runs`' 409 (which only
reclaims a run whose LEASE has already expired): this is the escape hatch
for an admin who wants a genuinely wedged - or simply unwanted - run gone
immediately, whether or not its lease has expired yet.

## Path parameters

- `run_id` string, required

## Response `200`

Successful Response

- RunView
  - `id` string, required
  - `target_identity_id` string, required
  - `target_display_name` string, nullable, required
  - `triggered_by_identity_id` string, required
  - `probe_ids` string[], required
  - `status` string, required
  - `error_message` string, nullable, required
  - `agent_cost_usd` number, nullable, required
  - `judge_cost_usd` number, nullable, required
  - `total_cost_usd` number, nullable, required
  - `total_duration_s` number, nullable, required
  - `scenarios_total` integer, nullable, required
  - `scenarios_passed` integer, nullable, required
  - `findings_reproduced` integer, nullable, required
  - `findings_covered` integer, nullable, required
  - `started_at` string, nullable, required
  - `finished_at` string, nullable, required
  - `created_at` string, required

## Other responses

- `422`: Validation Error

---

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