---
title: "Stop an AI Assistant chat turn"
method: POST
path: "/assistant/chat/conversations/{conversation_id}/messages/{sequence}/stop/"
tags: ["assistant"]
---

# Stop an AI Assistant chat turn

`POST /assistant/chat/conversations/{conversation_id}/messages/{sequence}/stop/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/assistant/chat/conversations/{conversation_id}/messages/{sequence}/stop/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Ask the turn whose user message sits at `sequence` (the streaming route's `turn` frame names it) to stop at its next check. The turn stops before its model call, or within a second while the model writes, and lands as a `result` whose reply carries `failed` and reads `Stopped by you`; the workspace's allowance is not charged for it. Idempotent, and harmless once the turn has landed: a Stop nobody is listening for expires on its own.

## Path parameters

- `conversation_id` string, uuid, required
- `sequence` integer, required

## Response `202`

Successful Response

- WorkspaceChatStopResponseSchema: A Stop was asked for. Whether it lands is the stream's to say. The flag is cooperative and best effort: the turn reads it before its model call and while the model writes, and a turn that has already landed is not affected. The stream reports the outcome as a `result` whose reply carries `failed` and reads `Stopped by you`. Echoes the turn the Stop was addressed to, as the `turn` frame named it.
  - `conversation_id` string, uuid, required
  - `user_message_sequence` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Conversation not found
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
