Get the current account's billing standing
The plan the account is on, how long its projects may keep content, how much indexed storage it is holding, and the credit it has left — the figures the platform already enforces against, readable by the account they are enforced against.
A managed-model generation is refused with 402 insufficient_credit while credit_balance_usd is negative, and a feature or a resource count outside the plan is refused with 403, as is a retention window wider than retention_days or an ingest past storage.limit. Every refusal names what is missing; this is where the numbers behind them are read.
Every figure here is a local read, which is what keeps this route cheap enough to poll — unlike GET /v1/users/me/usage, which asks the meter once per project.
Answers for the caller's own account only, and always the account the credential resolves to — an API key answers for the user that minted it. The plan gating a project is that project's billing owner's, so a member of someone else's project reads their own rung here, not that project's.
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/users/me/billing
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Response
The account's plan and credit standing.
Example response
{
"next_plan": "pro",
"retention_days": 30,
"credit_balance_usd": 18.42,
"spend_reconciled_at": "2026-07-17T00:15:00.000Z",
"storage": {
"used": 12.4137,
"limit": 30,
"sampled_at": "2026-07-17T00:15:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.