---
title: "Changes to Cancel task run"
method: POST
path: "/v2/task-runs/{run_id}/cancel"
---

# Changes to Cancel task run

`POST /v2/task-runs/{run_id}/cancel`

> Every recorded change to this operation, newest first.
> 48 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 48 revisions.

- **2026-08-06** `4f94eb2fd1ab`: 5 warning, 8 info

## Changes

- **2026-08-06** `4f94eb2fd1ab`: 5 warning, 8 info
  - added the new `CANCELLED` enum value to the `status` response property for the response status `200`
  - added the new `COMPLETED` enum value to the `status` response property for the response status `200`
  - added the new `FAILED` enum value to the `status` response property for the response status `200`
  - added the new `PENDING` enum value to the `status` response property for the response status `200`
  - added the new `RUNNING` enum value to the `status` response property for the response status `200`
  - api operation id `task_runs_cancel` removed and replaced with `cancel_task_run`
  - added the optional property `experiment_id` to the response with the `200` status
  - added the optional property `failure_reason` to the response with the `200` status
  - removed the `cancelled` enum value from the `status` response property for the response status `200`
  - removed the `completed` enum value from the `status` response property for the response status `200`
  - removed the `failed` enum value from the `status` response property for the response status `200`
  - removed the `pending` enum value from the `status` response property for the response status `200`
  - removed the `running` enum value from the `status` response property for the response status `200`

---

[Operation](https://skmtc.dev/arize-ai/apis/arize-rest-api/docs/v2/task-runs/:run_id/cancel/post.md) - [API](https://skmtc.dev/arize-ai/apis/arize-rest-api.md) - [Page](https://skmtc.dev/arize-ai/apis/arize-rest-api/changes/v2/task-runs/:run_id/cancel/post)
