---
title: "Cancel Batched Fetch"
method: POST
path: "/v1/fetch/batched/{id}/cancel"
tags: ["Fetch"]
---

# Cancel Batched Fetch

`POST /v1/fetch/batched/{id}/cancel`

Request cancellation. QUEUED work is cancelled immediately; CANCELLING means running work is draining. Repeated cancellation is idempotent.

## Path parameters

- `id` string, required — a non empty string

## Response `200`

BatchedCancellation

- BatchedCancellation
  - `id` string, required — Batched run ID
  - `status` 'CANCELLING' | 'CANCELLED', required — Cancellation state. CANCELLING means already-running items are draining.

## Other responses

- `400` — The request did not match the expected schema
- `401` — AuthFailed
- `404` — BatchedNotFound
- `409` — BatchedCancellationConflict
- `413` — PayloadTooLarge
- `429` — TooManyRequests
- `500` — InternalError
- `503` — ServiceUnavailable

---

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