Skip to main content
POST
Add Chat Message Stream

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string<uuid> | null
required
thread_id
string<uuid>
required

Body

application/json

Model for creating a new chat message.

content
string
required
role
string
required
Pattern: ^(user|assistant|system|tool)$
content_html
string | null
metadata
Metadata · object
agent_id
string<uuid> | null

Response

Successful Response