cURL
curl --request GET \ --url https://api.promptmetrics.dev/prompt-logs/analytics \ --header 'Authorization: Bearer <token>'
{ "responseData": { "avgLatency": 123, "totalCost": 123, "totalTokens": 123, "totalRequests": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Aggregated analytics
Show child attributes