Skip to main content
GET
/
v1
/
usage
Get usage
curl --request GET \
  --url https://api.oneinbox.ai/v1/usage \
  --header 'Authorization: Bearer <token>'
{
  "calls_made_today": 123,
  "max_calls_per_day": 123,
  "calls_remaining_today": 123,
  "calls_this_month": 123,
  "minutes_used_this_month": 123,
  "cost_cents_this_month": 123,
  "kb_token_budget": 123,
  "period_start": "2023-11-07T05:31:56Z"
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Use api_key from POST /v1/api-keys

Response

200 - application/json

OK

calls_made_today
integer
max_calls_per_day
integer
calls_remaining_today
integer
calls_this_month
integer
minutes_used_this_month
number
cost_cents_this_month
integer
kb_token_budget
integer

Total KB token budget for this account (default 10000)

period_start
string<date-time>