---
title: "Cancel a running job; it reports cancelled within a minute, with the pages compared so far in its report"
method: POST
path: "/jobs/{id}/cancel"
---

# Cancel a running job; it reports cancelled within a minute, with the pages compared so far in its report

`POST /jobs/{id}/cancel`

## Request

- Base URL: `https://app.difficat.com/api/v1`
- URL: `https://app.difficat.com/api/v1/jobs/{id}/cancel`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, required

## Response `202`

Cancel recorded

- object
  - `status` 'cancelling', required

## Other responses

- `401`: Missing job token
- `404`: Unknown job or wrong token

---

[API](https://skmtc.dev/difficat/apis/difficat-agent-api.md) · [All operations](https://skmtc.dev/difficat/apis/difficat-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/difficat/apis/difficat-agent-api/revisions/49c291e77659?raw)
