Skip to main content
GET
Get a Session Thread

Headers

kimi-api-version
enum<string>

API version for this request, in YYYY-MM-DD form. Send 2026-09-01-beta for the version documented here. Required outside /v1/files*: a missing header there is rejected with 400 invalid_request_error; on /v1/files* its absence selects the compatibility behavior. An unknown value is rejected with 400 invalid_request_error on every endpoint. API versions served by the platform. New dated versions are added as they ship; a version is removed after its announced Sunset date.

Available options:
2026-09-01-beta

Path Parameters

id
string
required

Session ID.

thread_id
string
required

Thread ID.

Response

The Thread, with its pinned Agent snapshot.

An independently executable Thread within a Session.

id
string
required

Thread ID.

Example:

"sthr_01h455vb4pex5vsknk084sn02q"

session_id
string
required

Session this thread belongs to.

Example:

"sesn_01h455vb4pex5vsknk084sn02q"

status
enum<string>
required

Current lifecycle status.

Available options:
idle,
running,
stopping,
terminated
Example:

"idle"

created_at
string<date-time>
required

Creation timestamp.

Example:

"2026-01-01T00:00:00Z"

updated_at
string<date-time>
required

Last-update timestamp.

Example:

"2026-01-01T00:00:00Z"

parent_thread_id
string

Parent thread. Absent for the coordinator thread.

Example:

"sthr_01h455vb4pex5vsknk084sn02q"

agent
object

Fixed agent version used by this thread.

Example:
interrupted
boolean

Whether execution is paused by an interrupt.

Example:

false

control_epoch
string

Current Thread control generation, independent of other threads.

Maximum string length: 19
Pattern: ^(0|[1-9][0-9]{0,18})$
Example:

"1"

archived_at
string<date-time>

Archive timestamp. Absent while active.

Example:

"2026-01-03T00:00:00Z"

usage
object

Cumulative token usage of this Thread. Grows in real time as model calls complete. Also returned in thread list items, filled with one batch query per page.

Example: