---
title: "Ask a running or queued round to stop"
method: POST
path: "/v1/apps/{id}/mining/rounds/{runId}/cancel"
tags: ["Apps"]
---

# Ask a running or queued round to stop

`POST /v1/apps/{id}/mining/rounds/{runId}/cancel`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/apps/{id}/mining/rounds/{runId}/cancel`
- Auth: HTTP bearer

Flags the round for cancellation; it stops at its next step and ends as `cancelled`. A round driven by an external agent is withdrawn and ended at once. 409 when the run is no longer running. Requires the `run` access tier on the app.

## Path parameters

- `id` string, uuid, required
- `runId` string, uuid, required

## Response `202`

The cancellation was recorded.

- object
  - `run_id` string, uuid
  - `cancel_requested_at` string, date-time

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `409`: The request conflicts with the current resource state.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/apps/:id/mining/rounds/:runId/cancel/post.md)

---

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