线程
Models
线程事件
列出会话线程事件
$ ant beta:sessions:threads:events listGET/v1/sessions/{session_id}/threads/{thread_id}/events
流式传输会话线程事件
$ ant beta:sessions:threads:events streamGET/v1/sessions/{session_id}/threads/{thread_id}/stream
An execution thread within a session. Each session has one primary thread plus zero or more child threads spawned by the coordinator.
Timing statistics for a session thread.
Cumulative time in seconds the thread spent actively running. Excludes idle time.
Elapsed time since thread creation in seconds. For archived threads, frozen at the final update.
Time in seconds for the thread to begin running. Zero for child threads, which start immediately.
SessionThreadStatus enum
Cumulative token usage for a session thread across all turns.
Server-sent event in a single thread's stream.