Threads
Get Thread
GET
Retrieves thread details including metadata, agent info, and statistics.
string
required
The unique thread identifier (UUID)
Response Structure
object
required
Thread metadata object
string
required
Unique thread identifier
string
required
The agent name associated with this thread
string | null
User identifier if set
array
required
Array of string tags for categorization
number
required
Unix timestamp in seconds
object | null
Agent definition details (null if agent no longer exists)
string
Agent identifier (same as
thread.agent_id)string
Human-readable agent title
string
Agent type:
ai_human or dual_aistring
Agent description if set
string
Full URL to agent icon (absolute paths are resolved to full URLs using the request origin)
object
required
Thread statistics
number
Total number of messages in the thread
number
Total number of execution logs
object
required
Authoritative run status (
ThreadStatus). The same value streams live as
thread_status frames on the WebSocket stream.string
required
idle, running, or failed. A run that handed the turn to a human side
is idle.number
required
When the thread entered this state, microseconds since epoch (
0 if it has
never run).string | null
Raw stop reason code of the last transition out of
running (for example
stop_on_response, stop_tool, awaiting_human, hook_blocked,
aborted_by_user, step_error, execution_lost). Opaque; null while
running.