Retrieve aggregated token usage statistics for a specific end user. Useful for viewing individual user consumption.
A valid request URL is required to generate request examples
{ "total_requests": 123, "total_prompt_tokens": 123, "total_completion_tokens": 123, "total_tokens": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
End user ID to get stats for
OK
Aggregated token usage statistics
Total number of chat requests
Total prompt (input) tokens used
Total completion (output) tokens used
Total tokens used (prompt + completion)