cURL
curl --request POST \ --url https://api.helicone.ai/v1/customer/{customerId}/usage/query \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "id": "<string>", "name": "<string>", "cost": 123, "count": 123, "prompt_tokens": 123, "completion_tokens": 123 }
Retrieve usage metrics for specific customers
eu.api.helicone.ai
api.helicone.ai
Bearer token authentication. Format: 'Bearer YOUR_API_KEY'
The body is of type object.
object
Ok
Was this page helpful?