---
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

---

[API](https://skmtc.net/skyvern-ai/apis/skyvern-api-2.md) · [All operations](https://skmtc.net/skyvern-ai/apis/skyvern-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skyvern-ai/skyvern-api-2/revisions/6e177b49046b/schema)
