---
title: "Changes to Cancel the agent's currently-active run (idempotent, cooperative)"
method: POST
path: "/agents/{id}/cancel"
---

# Changes to Cancel the agent's currently-active run (idempotent, cooperative)

`POST /agents/{id}/cancel`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `8c6b16fe0a3b`: 1 breaking, 2 info

## Changes

- **2026-11-03** `8c6b16fe0a3b`: 1 breaking, 2 info
  - the response property `run/allOf[#/components/schemas/Run]/allOf[subschema #2]/response/allOf[#/components/schemas/RunResponse]/tables/items/workspaceId` became nullable for the status `200`
  - response property `run/allOf[#/components/schemas/Run]/allOf[subschema #2]/response/allOf[#/components/schemas/RunResponse]/tables/items/workspaceId` deprecated
  - response property `run/allOf[#/components/schemas/Run]/allOf[subschema #2]/workspaceId` deprecated

---

[Operation](https://skmtc.dev/origami/apis/origami-agent-api/docs/agents/:id/cancel/post.md) - [API](https://skmtc.dev/origami/apis/origami-agent-api.md) - [Page](https://skmtc.dev/origami/apis/origami-agent-api/changes/agents/:id/cancel/post)
