Get the caller's credit balance and usage
Balance split by bucket (cycle allowance, purchased on-demand, personal), the per-cycle allowance and on-demand unit price, and ledger totals over a window.
The window defaults to the current calendar month to date (UTC). Figures are for the caller's own membership in their active organization — the same organization the API meters requests against.
In: header
Query Parameters
Usage window start (YYYY-MM-DD, inclusive)
^\d{4}-\d{2}-\d{2}$/uUsage window end (YYYY-MM-DD, inclusive)
^\d{4}-\d{2}-\d{2}$/uResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/me/credits"{
"allowance": {
"perCycle": 0,
"unitPriceCents": 0
},
"balance": {
"cycle": 0,
"onDemand": 0,
"personal": 0,
"total": 0
},
"organizationId": "string",
"usage": {
"granted": 0,
"purchased": 0,
"spent": 0,
"spentByCategory": {
"ai_agent": 0,
"ai_chat": 0,
"api": 0,
"enrichment": 0
},
"window": {
"endDate": "string",
"startDate": "string"
}
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string",
"limit": 0,
"size": 0
}{
"error": "string"
}Get the current caller's account GET
Identity, active organization + membership role, and how the caller authenticated. Extended profile fields (`nmlsId`, `jobRole`, the contact-card block) are resolved for every caller type — session-cookie, API-key, and OAuth-bearer alike. `auth.profileResolved` is `true` on any successful read; it is retained for compatibility and no longer varies by the credential the caller presented.
Get the caller's current plan GET
The active organization's resolved plan (with its limit map), the subscription status backing it, and the plan grants attached to the organization and to the user. `plan` is null when the workspace has no active, trialing, or past-due subscription. No billing details (invoices, payment methods) are exposed.