Stop Message
Changed onStops an in-flight assistant message generation. The agent aborts at the next safe point and the message is marked finished.
Request
- Base URLhttps://api.v0.dev/v2
- URLhttps://api.v0.dev/v2/chats/{chatId}/messages/{messageId}/stop
- AuthHTTP bearer
Path parameters
The unique identifier of the chat.
The unique identifier of the assistant message to stop.
Response
The stopped message.
Changes
- info
added the non-success response with the status
- info
- breaking
for the
pathrequest parameterchatId, the minLength was increased from0to1 - breaking
for the
pathrequest parametermessageId, the minLength was increased from0to1 - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
api operation id
chats.stopremoved and replaced withmessages.stop - info
the endpoint scheme security
apiKeywas removed from the API - info
api tag
Messagesadded - info
api tag
chatsremoved - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking