cURL
curl --request GET \ --url https://api.nugen.in/api/v3/agents/usage/ \ --header 'Authorization: Bearer <token>'
{ "data": { "totalUsage": 0, "totalTokens": 0, "averageTokensPerRequest": 0, "mostUsedModel": "", "usageByModel": {} } }
Get user agent usage statistics
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Response model for usage statistics endpoint.
Agent usage statistics model
Show child attributes
Total usage count
Total tokens used
Average tokens per request
Most frequently used model
Usage breakdown by model
Was this page helpful?