---
title: "Changes to Cancel an in-flight agent chat stream"
method: POST
path: "/agents/{agentKey}/conversations/{conversationId}/cancel"
---

# Changes to Cancel an in-flight agent chat stream

`POST /agents/{agentKey}/conversations/{conversationId}/cancel`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 24 revisions.

- **2026-10-28** `dbb5e203b445`: 1 breaking, 7 info
- **2026-10-08** `bb0c59adf026`: 1 info

## Changes

- **2026-10-28** `dbb5e203b445`: 1 breaking, 7 info
  - added the pattern `^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$` to the request property `runId`
  - added the media type `application/x-www-form-urlencoded` to the request body
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `404`
  - added the non-success response with the status `500`
  - the response property `cancelled` became required for the status `200`
- **2026-10-08** `bb0c59adf026`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/pipeshub-ai/apis/pipeshub-api/docs/agents/:agentKey/conversations/:conversationId/cancel/post.md) - [API](https://skmtc.dev/pipeshub-ai/apis/pipeshub-api.md) - [Page](https://skmtc.dev/pipeshub-ai/apis/pipeshub-api/changes/agents/:agentKey/conversations/:conversationId/cancel/post)
