GET /usage

Get current usage statistics

GET /v1/usage

Response

{
    "user_id": "usr_xxxxx",
    "plan": "sdk",
    "decisions_this_month": 42350,
    "limit": 1000000,
    "reset_at": "2025-01-01T00:00:00Z"
}

Fields

FieldTypeDescription
user_idstringYour user ID
planstringCurrent plan (free, sdk, rtl, enterprise)
decisions_this_monthintDecisions made this billing period
limitint|nullMonthly limit (null for unlimited)
reset_atstringWhen the counter resets (ISO 8601)

Example

curl https://api.thalosforge.com/v1/usage \
  -H "Authorization: Bearer sk_live_xxxxx"