cURL
curl --request GET \ --url https://api.example.com/api/ai/usage/summary \ --header 'Authorization: Bearer <token>'
{ "totalRequests": 123, "totalTokens": 123, "totalCost": 123, "byModel": {} }
Get AI usage summary statistics
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Filter by configuration ID
Start date for usage period
End date for usage period
Usage summary
Show child attributes