Account

Check your plan, credit balance, rate limits, and usage programmatically.

GET/v1/meFree — not metered

Use this for pre-flight checks before a batch job, low-balance monitoring/alerts, or to display credits in your own UI. It's authenticated by your API key and rate limited, but consumes no credits — so it keeps working even at a zero balance (unlike metered endpoints, which return 402 INSUFFICIENT_CREDITS).

Example request

curl "https://chainkit.ai/v1/me" \
  -H "Authorization: Bearer thw_live_xxxxxxxx"

Example response

{
  "organizationId": "ef92f8ff-ee77-4b58-9a52-7313aad91750",
  "plan": "free",
  "planName": "Free",
  "credits": {
    "balance": 9925,
    "monthlyCredits": 10000,
    "renewsAt": "2026-07-04T10:15:00.000Z"
  },
  "rateLimits": { "balances": 30, "gas": 60, "quotes": 10, "default": 60 },
  "usage": { "requestsThisMonth": 5, "creditsThisMonth": 75 }
}

Response fields

FieldTypeDescription
organizationIdstringYour organization id.
planstringPlan id: free, starter, growth, or scale.
planNamestringHuman-readable plan name.
credits.balancenumberCurrent credit balance.
credits.monthlyCreditsnumberCredits granted each month by your plan.
credits.renewsAtstring | nullISO timestamp of the next monthly renewal.
rateLimitsobjectPer-minute request limits by endpoint category.
usage.requestsThisMonthnumberSuccessful billed requests this month.
usage.creditsThisMonthnumberCredits consumed this month.
Tip: every metered response also returns X-Credits-Remaining, so you usually don't need to poll /v1/me on the hot path — reach for it for checks that shouldn't spend credits or run without traffic.