POST
/
v1
/
customer
/
{customerId}
/
usage
/
query
curl --request POST \
  --url https://api.helicone.ai/v1/customer/{customerId}/usage/query \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{}'
{
  "id": "<string>",
  "name": "<string>",
  "cost": 123,
  "count": 123,
  "prompt_tokens": 123,
  "completion_tokens": 123
}

Authorizations

authorization
string
header
required

Path Parameters

customerId
string
required

Body

application/json · object

The body is of type object.

Response

200 - application/json
Ok
id
string
required
name
string
required
cost
number
required
count
number
required
prompt_tokens
number
required
completion_tokens
number
required