Stop Bot Chat
Changed onStop the bots working in a chat, or one of them with bot_id, and their helpers. Open to a workspace that fell below the plan Bots needs, so running work can always be stopped.
Request
- Base URLhttps://api.krea.ai
- AuthHTTP bearer
Path parameters
Request body
Stop only this bot. Without it, every bot working in the chat stops.
The cursor of the previous response, so only what happened since is returned. Without one, the read starts after your own newest message.
Response
The state of the chat after stopping.
working while a bot is mid-turn, needs_input when a bot waits on question, then done, failed or stopped.
True once status is done, failed or stopped.
New steps of the working bots' turns.
New visible messages since cursor, oldest first.
The bots' new message text, joined.
Images, video and audio the bots posted since cursor.
Present when status is failed. out_of_compute, bot_usage_limit and chat_usage_limit are billing holds, not faults.
Bots held in this chat because the workspace ran out of compute units. Add units, then call retry or send a message.
True when wait ran out while a bot was still working, or more is unread than one response carries. Read again with cursor.
Changes
- info
endpoint added
- info