Usage

Read your weekly allowance and USD balance.

GET /v1/usage

Read your allowance and balance. This does not consume generation quota and has a separate limit of 60 requests per minute.

Read usage
curl --fail-with-body 'https://api.rayonapi.com/v1/usage' \
  -H "Authorization: Bearer $RAYON_API_KEY"
Usage fields
FieldDetails
request_idCorrelation ID.
limits.requests_per_secondAccount rate ceiling, shared across all keys: trial 15, general 500 and enterprise 5,000 RPS by default; enterprise overrides can reach 10,000 RPS. Read this field for your effective ceiling.
allowance.kindowner, custom, subscription or wallet.
allowance.weekly_limit / weekly_used / weekly_remainingCurrent period’s allowance, spent/reserved calls and available calls. weekly_limit is null for wallet-only accounts.
allowance.weekly_resets_atPaid billing-week end; Monday 00:00 UTC for owners/custom accounts; null for wallet-only accounts.
allowance.wallet.balance_usd / balance_micro_usdAvailable USD funds and the exact integer balance in millionths of a dollar.
allowance.payg_rate_per_1000_usdRate for extra usage: the eligible paid tier rate, otherwise $5 / 1,000.
allowance.complimentary_remainingOptional trial or bonus calls remaining, when assigned to your account.

A verified positive paid purchase removes the trial rate cap, even while complimentary calls remain. Those calls are still spent first. Configured rate ceilings do not guarantee service capacity.

  • Owners receive 100,000 calls per UTC week and cannot spend wallet funds after exhausting it. Custom accounts use their assigned allowance unless a paid subscription applies.
  • Unused subscription calls expire at the paid week’s end. USD funds do not expire and have no weekly cap.
  • No daily or monthly cap is enforced. Legacy admitted-attempt counters and prepaid_remaining are compatibility fields, not your USD balance.

See Billing and funds for charging and renewal.