session
Get token counts for session
Changed onGet total token counts for all text and tool-call parts in a session
get/session/{session_id}/token_counts
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/session/{session_id}/token_counts
- Auth: API key in header Authorization
Path parameters
session_idstring uuid required
Session ID
Response
OK
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking