Skip to main content
GET
/
billing
/
usage
Get usage summary
curl --request GET \
  --url https://runcrate.ai/api/v1/billing/usage \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "total_requests": 123,
    "total_prompt_tokens": 123,
    "total_completion_tokens": 123,
    "total_tokens": 123,
    "total_cost": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://runcrate.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Runcrate API key with the rc_live_* prefix as the bearer token. Create one at https://www.runcrate.ai/dashboard/api-keys.

Query Parameters

from
string<date>
to
string<date>

Response

Usage summary.

data
object
required