threads
Query Single Thread Stats
Alpha: The request and response contract may change; Compute aggregate stats for a single thread (turn count, latency percentiles, token/cost sums, and detail breakdowns) within a project.
get/v2/threads/{thread_id}/stats
Path parameters
thread_idstring required
Thread ID
Query parameters
selectsstring[]
selects lists which aggregate stats to compute and return (repeatable query parameter). At least one value is required. Accepts any value of SingleThreadStatsSelectField.
session_idstring uuid required
session_id is the tracing project (session) UUID (required).
Response
aggregate stats for the thread
Changes
Changed in 1 of the 48 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○