Page session nodes and scoped model-cost summaries without loading events
Authorizations
A Recursion API key, created in the console under API keys.
Path Parameters
Session id (UUID) the cost read is scoped to. Any id in the tree; scope decides how far the read reaches from it.
Query Parameters
self selects only this session; subtree selects this session and descendants; tree selects the complete root tree.
self, subtree, tree 1 <= x <= 100Signed, organization/session/scope/limit/snapshot-bound continuation token.
Signed token returned by a model-cost detail page. Pins this companion read to the exact same organization/session/scope snapshot.
Response
One page of the session hierarchy behind a model-cost read, paginated independently of the attempt detail so a wide tree cannot crowd out attempts.
One page of the session hierarchy behind a model-cost read, paginated independently of the attempt detail so a wide tree cannot crowd out attempts.
Signed organization/session/scope-bound token that pins companion model-cost reads to this exact snapshot.
RFC 3339 timestamp of the database snapshot these rollups were read from.
How far the hierarchy read reached from that session: this session alone (self), this session and its descendants (subtree), or every session under the same root (tree).
self, subtree, tree Session the read was scoped to (UUID).
Sessions in scope, ordered by session_path then session_id, up to the requested limit.
Continuation for the next page, passed back as page_token. Absent on the last page, and bound to this organization, session, scope, limit, and snapshot.