Chats

Interrupt chat

Stops the chat's current agent turn. Queued messages are discarded and returned in removed_message_ids.

post/v1/replica/{id}/chats/{chat_id}/interrupt

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/replica/{id}/chats/{chat_id}/interrupt
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Replica ID

chat_idstring required

Chat ID

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Response

Interrupted

interruptedboolean required
queuestring[] required

Text of the queued messages that were discarded

removed_message_idsstring[]

IDs of the discarded messages

Changes

No recorded changes to this operation across all 1 revision of this API.