Get a session thread
⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/sessions/{session_id}/threads/{thread_id}Return one thread with its status, parent and usage.
For how this fits into a full workflow, see Threads and delegation.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <key>: a private inference key (sk_live_...). See Authentication. |
syntic-beta | Yes, while in preview | agents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning. |
Path parameters
| Parameter | Type | Description |
|---|---|---|
session_id | string | The session id, starting with sesn_. |
thread_id | string | The thread id, starting with thr_. |
Response
200 OK, Content-Type: application/json
{
"id": "thr_01JCC2E4G6J8L0N2Q4S6",
"type": "session_thread",
"session_id": "sesn_01JC7M2K4P6R8T0V2X4Z",
"role": "delegate",
"parent_thread_id": "thr_01JCC1D3F5H7K9M1P3R5",
"agent_id": "agt_01JCC0B2D4F6H8K0M2P4",
"agent_version": 2,
"title": "Check carrier tracking for order 88123",
"status": "completed",
"usage": {
"input_tokens": 6120,
"cached_input_tokens": 4096,
"output_tokens": 388,
"cost_usd": "0.0112"
},
"created_at": "2026-11-05T10:02:10Z",
"ended_at": "2026-11-05T10:02:41Z"
}| Field | Type | Description |
|---|---|---|
id | string | Starts with thr_. |
role | string | primary for the session’s main conversation, delegate for a sub-agent the primary handed work to. |
parent_thread_id | string or null | The thread that started this one; null for the primary thread. |
agent_id | string | The agent running in this thread. Delegates run the agent named in the parent’s delegates list. |
status | string | running, idle, completed, failed or interrupted. |
usage | object | Tokens and cost for this thread alone. The session’s usage is the sum of all threads. |
Examples
curl -sS "https://app.syntic.ai/v1/sessions/sesn_01JC7M2K4P6R8T0V2X4Z/threads/thr_01JCC2E4G6J8L0N2Q4S6" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: agents-2026-11-01"Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 404 | not_found_error | thread_not_found | No thread with this id in the session. |
| 401 | authentication_error | invalid_api_key | The key is missing, unknown, revoked or expired. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Was this page helpful?