Session
Get session usage
Changed onAggregate token and cost usage across the session and all its descendant subagents. Resolves the tree root, so the result is the same whether a parent or child session ID is passed.
get/session/{sessionID}/usage
Request
- The document declares no server URL.
- Authnone declared
Path parameters
sessionIDstring required
Query parameters
directorystring
Response
Aggregated usage
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking