---
title: "Cancel Workflow Run"
method: POST
path: "/workflows/cancel"
tags: ["Workflow"]
---

# Cancel Workflow Run

`POST /workflows/cancel`

Cancel an in-progress workflow run.

## Query parameters

- `job_id` string — Run job_id to cancel

## Headers

- `x-api-key` string, nullable

## Request body

- object

## Response `200`

Successful Response

- WorkflowCancelResponse — Response for workflow cancellation.
  - `job_id` string, required — Job (run) identifier.
  - `status` string, required — Status after cancellation, typically 'canceled'.

## Other responses

- `400` — Request was rejected by the route's validation rules.
- `401` — Missing or invalid API key.
- `403` — Caller does not have access to this workflow.
- `404` — Workflow, run, or job not found.
- `409` — Workflow with the supplied ID already exists.
- `422` — Request body failed validation.
- `500` — Unexpected server error. Retry with backoff.

---

[API](https://skmtc.dev/sixtyfour/apis/sixtyfour-api.md) · [All operations](https://skmtc.dev/sixtyfour/apis/sixtyfour-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sixtyfour/sixtyfour-api/revisions/51f0a2b62b44/schema)
