---
title: "Cancel runs"
method: POST
path: "/orchestration/runs/cancel"
tags: ["Orchestration - Runs"]
---

# Cancel runs

`POST /orchestration/runs/cancel`

Cancel running orchestration runs

## Request body

- union — Request body schema.
  - object
    - `workflowUuid` string, uuid, required — Workflow identifier.
    - `uuids` string[], required — Run identifiers to cancel.
  - object
    - `workflowUuid` string, uuid, required — Workflow identifier.
    - `recordId` string — Record ID to filter by.
    - `recordTitle` string — Record title to filter by.
    - `recordTitleOrId` string — Record title or ID to filter by.
    - `releaseUuid` string, uuid — Release identifier to filter by.
    - `batchUuid` string, uuid — Batch identifier to filter by.
    - `parentBatchUuid` string, uuid — Parent batch identifier to filter by.
    - `parentUuid` string, uuid — Parent run identifier to filter by.
    - `parentNodeUuid` string, uuid — Parent node identifier to filter by.
    - `isGroupParent` boolean — Whether to select group parent runs.
    - `executionsFilter` object — Execution filters for matching runs.
      - `conjonction` 'or' | 'and', required
      - `groups` object[], required
        - `conjonction` 'or' | 'and', required
        - `conditions` object[], required
          - `kind` 'node', required
          - `nodeSlug` string, required
          - `status` 'absent' | 'pending' | 'success' | 'error', required
          - `value` string
    - `createdAfter` string — Include runs created after this timestamp.
    - `createdBefore` string — Include runs created before this timestamp.

## Response `200`

Successful response

- object

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/revisions/1d5a19e01d83/schema)
