SessionSession_idToken_counts
Get token counts for session
Get total token counts for all text and tool-call parts in a session
Authorization
BearerAuth Authorization<token>
Project Bearer token (e.g., "Bearer sk-ac-xxxx")
In: header
Path Parameters
session_id*string
Session ID
Format
uuidResponse Body
application/json
curl -X GET "https://loading/api/v1/session/497f6eca-6276-4993-bfeb-53cbbbba6f08/token_counts"{
"code": 0,
"error": "string",
"msg": "string",
"data": {
"total_tokens": 0
}
}