Send a message in a chat

Sends a message in a chat. Supports three response modes controlled by request headers:

ModeHeaderResponse
Synchronous (default)(none)200 with the full AI response
StreamingAccept: text/event-stream200 as Server-Sent Events (SSE)
AsyncPrefer: respond-async202 with the generated messageId; processing continues in background
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
boolean

Optional. If true, the message will be appended to the existing chat history. This do not generate a response.

boolean

Optional. If true, the message will not be displayed in the chat message list.

string
enum

Optional. The origin of the message. Required if onlyAppend is true.

Allowed:
content
object
required
Headers
string
enum

Use respond-async to process the message asynchronously. The server returns 202 Accepted
immediately with the generated message id. Processing continues in the background.

Allowed:
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

Bad Request

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/event-stream