Create Message Thread
curl --request POST \
  --url http://{api_endpoint}/api/v1/v1/threads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "title": "Untitled",
  "context": {}
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
assistant_id
string<uuid> | null
agent_id
string<uuid> | null
title
string
default:Untitled

title of the thread

context
object | null

Response

Successful Response

The response is of type any.