POST
/
threads
curl --request POST \
  --url http://localhost/api/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"
}'
"<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 | null
agent_id
string | null
title
string
default:Untitled

title of the thread

Response

200
application/json

Successful Response

The response is of type any.