Threads
Get a thread
Returns the properties of a single thread by ID.
GET
/v1/threads/{thread_id}Authorization
APIKeyHeader api-key<token>
In: header
Path Parameters
thread_id*Thread Id
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.haufe.ai/agents/v1/threads/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"assistant_id": "a1b2c3d4-5678-9abc-def0-1234567890ab",
"created_at": "2025-03-15T09:12:33.456789Z",
"id": "1a2b3c4d-5678-9abc-def0-112233445566",
"last_updated_at": "2025-03-15T09:45:12.123456Z",
"tenant_id": "abcd1234-ef56-7890-abcd-ef1234567890",
"title": "Kündigung während der Probezeit",
"user_id": "f8e7d6c5-4321-fedc-ba98-765432109876"
}{
"error_code": "assistant_not_available",
"detail": "Assistant not available to your tenant"
}{
"error_code": "thread_not_found",
"detail": "Thread not found"
}{
"error_code": "validation_error",
"detail": [
{
"loc": [
"body",
"field"
],
"message": "Field required",
"type": "missing"
}
]
}{
"error_code": "rate_limit_gateway",
"detail": "Rate limit exceeded"
}