Skip to main content
POST
/
v0
/
assistant
/
chat
Stream assistant response
curl --request POST \
  --url https://api.avidoai.com/v0/assistant/chat \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>' \
  --data '
{
  "messages": [
    "<unknown>"
  ],
  "conversationId": "chat_4f1b2c9d"
}
'
"<string>"

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique Avido Application ID

Body

application/json

Request body for streaming an assistant response.

messages
any[]
required

UI message history for the assistant. The server performs strict runtime validation of the message structure before model invocation.

Required array length: 1 - 30 elements
conversationId
string

Optional client-provided conversation identifier for observability.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_-]+$
Example:

"chat_4f1b2c9d"

Response

Streaming UI message response

SSE stream payload emitted by the assistant endpoint.