GET /usage
GET
/v1/usage
Response
{
"user_id": "usr_xxxxx",
"plan": "sdk",
"decisions_this_month": 42350,
"limit": 1000000,
"reset_at": "2025-01-01T00:00:00Z"
}
Fields
| Field | Type | Description |
|---|---|---|
user_id | string | Your user ID |
plan | string | Current plan (free, sdk, rtl, enterprise) |
decisions_this_month | int | Decisions made this billing period |
limit | int|null | Monthly limit (null for unlimited) |
reset_at | string | When the counter resets (ISO 8601) |
Example
curl https://api.thalosforge.com/v1/usage \
-H "Authorization: Bearer sk_live_xxxxx"