---
title: "Bulk cancel runs"
method: POST
path: "/v1/runs/cancel"
tags: ["Runs"]
---

# Bulk cancel runs

`POST /v1/runs/cancel`

Cancel multiple runs (tasks or workflows) in a single request

## Headers

- `x-api-key` string, nullable — Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

## Request body

- BulkCancelRunsRequest
  - `run_ids` string[], required — List of run IDs to cancel

## Response `200`

Successful Response

- BulkCancelRunsResponse
  - `cancelled` string[], required — Run IDs that were successfully cancelled
  - `failed` string[], required — Run IDs that could not be cancelled

## Other responses

- `422` — Validation Error

## Changes

- **2026-06-09** `e5a0a7c3a5c6` — 2 info
  - api tag `Runs` added
  - api tag `Agents` removed
- **2026-06-08** `3a3616091b66` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/changes/v1/runs/cancel/post.md)

---

[API](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2.md) · [All operations](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/skyvern-ai/apis/skyvern-api-2/revisions/7989ab3e2c03?raw)
