Create a new thread for managing conversations with an assistant
cURL
curl --request POST \ --url https://api.anyapi.ai/v1/threads \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "id": "<string>", "object": "thread", "created_at": 123 }
Bearer token authentication. Get your API key from the dashboard.
Thread created successfully
Thread ID
"thread"
Creation timestamp