---
title: "Stop the attempts of this run that have not started"
method: POST
path: "/v1/agents/{agent_id}/simulation-suite-runs/{run_id}/cancel"
---

# Stop the attempts of this run that have not started

`POST /v1/agents/{agent_id}/simulation-suite-runs/{run_id}/cancel`

## Request

- Base URL: `https://api.skysay.ai`
- URL: `https://api.skysay.ai/v1/agents/{agent_id}/simulation-suite-runs/{run_id}/cancel`
- Auth: none declared

Cancellation stops unstarted work only. An attempt a worker already claimed finishes and keeps its verdict, and completed results are never altered or deleted. Cancelling an already-finished run changes nothing.

## Path parameters

- `agent_id` string, required
- `run_id` string, required

## Response `200`

Run state after cancellation

## Other responses

- `404`: Run not found, or Simulations Lab is not enabled

---

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