Skip to main content
GET
/
threads
/
{thread_id}
Get thread details
curl --request GET \
  --url https://api.anyapi.ai/v1/threads/{thread_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "thread",
  "created_at": 123,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Path Parameters

thread_id
string
required

The ID of the thread

Response

Thread details retrieved successfully

id
string

Thread ID

object
string
Example:

"thread"

created_at
integer

Creation timestamp

metadata
object

Thread metadata