Get Session Thread
Get Session Thread through the OMA API.
?beta=true.Authorizations
OMA workspace API key.
Path Parameters
Path parameter session_id
Path parameter thread_id
Query Parameters
Selects the beta API contract for this endpoint. Must be true.
true Response
Successful response (OK)
An execution thread within a session. Each session has one primary thread plus zero or more child threads spawned by the coordinator.
session_thread "session_thread"
Unique identifier for this thread.
"sthr_011CZkZVWa6oIjw0rgXZpnBt"
The session this thread belongs to.
"sesn_011CZkZAtmR3yMPDzynEDxu7"
Current execution status of the thread.
running, idle, rescheduling, terminated "idle"
Resolved agent definition for this thread. Snapshot of the agent at thread creation time.
- Option 1
- Option 2
Parent thread that spawned this thread. Null for the primary thread.
null
When the thread was created.
"2026-03-15T10:00:00Z"
When the thread was last updated.
"2026-03-15T10:00:00Z"
When the thread was archived. Null if not archived.
null
Cumulative token usage for this thread. Null until the thread's first idle transition.
Timing statistics for this thread. Null until the thread's first status transition.