Menu

Chats API

Base URL: https://seirime.be/api/v1

Supported operations

Assistant chats

Chat messages

Chat websocket API

A chat websocket connection can be established by connecting with the public_channel_url from the POST /public/assistant/{assistant_id} endpoint.

Request messages

These are the messages that can be sent over a chat websocket.

Sending a message

files is an optional list of URLs of files that have been uploaded through POST /chats/{chat_id}/files.

Response messages

Here are the messages that can be received over a chat websocket.

Receiving a message

Assistant error occurred