Skip to main content
POST
/
api
/
v1
/
chat
/
{agent_id}
/
threads
/
{thread_id}
/
messages
/
stream
Add Chat Message Stream
curl --request POST \
  --url https://agent-studio.thena.ai/api/v1/chat/{agent_id}/threads/{thread_id}/messages/stream \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "content": "<string>",
  "content_html": "<string>",
  "role": "<string>",
  "metadata": {},
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
"<any>"

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
content_html
string | null
metadata
object
agent_id
string<uuid> | null

Response

Successful Response

The response is of type any.

I