---
title: "Cancel a job"
method: POST
path: "/robots/v0/jobs/{JOB_ID}/cancel"
tags: ["Jobs"]
---

# Cancel a job

`POST /robots/v0/jobs/{JOB_ID}/cancel`

Cancels a job that is currently pending or processing.

## Path parameters

- `JOB_ID` string, required

## Response `200`

Job cancelled successfully

- CancelJobResponse
  - `data` JobSummary, required
    - `id` string, required — Unique job identifier.
    - `workflow` 'summarize' | 'moderate' | 'generate-chapters' | 'edit-captions' | 'translate-captions' | 'ask-questions' | 'find-key-moments', required — Workflow type that created this job.
    - `status` 'pending' | 'processing' | 'completed' | 'errored' | 'cancelled', required — Current job status.
    - `created_at` integer, required — Unix timestamp (seconds) when the job was created.
    - `updated_at` integer, required — Unix timestamp (seconds) when the job was last updated.
    - `_links` object, required — Hypermedia links for this job.
      - `self` object, required
        - `href` string, required — URL to this resource.

## Other responses

- `403` — Robots is not enabled for this environment. Accept the Robots beta terms in the Mux Dashboard to enable access.
- `404` — Job not found
- `409` — Job is already in a terminal state
- `500` — Server error

---

[API](https://skmtc.net/muxinc/apis/mux-api.md) · [All operations](https://skmtc.net/muxinc/apis/mux-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/muxinc/mux-api/revisions/34a65dce0f31/schema)
