v29

latestOpenAPI 3.1.2raw.githubusercontent.com2026-08-014117755.2 KB
Messages

Stop Message

Stops an in-flight assistant message generation. The agent aborts at the next safe point and the message is marked finished.

post/chats/{chatId}/messages/{messageId}/stop

Path parameters

chatIdstring required

The unique identifier of the chat.

messageIdstring required

The unique identifier of the assistant message to stop.

Response

The stopped message.

messageIdstring required

The unique identifier of the stopped message.