cURL
curl --request GET \ --url http://localhost:8080/api/v1/analytics/token-usage-and-cost-for-app \ --header 'Authorization: <api-key>'
{ "datasets": [ { "data": [ 123 ], "label": "<string>", "yAxisID": "<string>" } ], "labels": [ "<string>" ] }
Get the token usage and total cost for a specific app over time
Start date (YYYY-MM-DD)
End date (YYYY-MM-DD)
App ID
OK
Show child attributes
Was this page helpful?