Account
/account
Your plan, history window, rate limit, and credits left this cycle. Free to call. The same figures come back on every response as the RateLimit-* and X-Credits-* headers.
Wallet payment is not available for this operation; use account authentication. x402 payment guide.
Parameters
No parameters for this endpoint.
cURL Example
curl --request GET \
--url 'https://nebula-api.hiddensystems.ai/api/v1/public/account' \
--header 'X-API-Key: YOUR_API_KEY'
Responses
Media type application/json
credits
object
The account's credit position this cycle; absent for keys that are not metered.
credits
The account's credit position this cycle; absent for keys that are not metered.
credits.cycle_end
UTC end of the current credit cycle, when plan credits renew.
credits.cycle_start
UTC start of the current credit cycle.
credits.plan_credits
Credits the plan includes this cycle.
credits.plan_credits_remaining
Plan credits left this cycle.
credits.plan_credits_used
Plan credits spent this cycle.
credits.purchased_credits_remaining
Unexpired purchased credits left, spent after plan credits.
credits.total_remaining
Everything left to spend: plan plus purchased credits.
history_window_days
How many days back the plan can read; null when unbounded.
plan
The account's API plan, such as free or pro.
rate_limit_per_minute
Requests allowed per minute; null when the key is not rate limited.
{
"history_window_days": 3650,
"plan": "pro",
"rate_limit_per_minute": 300
}