Get Account
Get the account, plan, limits and balance behind these credentials. Call it before submitting work to check limits and remaining credits, and after a 402, 403 or 429 to decide how to recover; billingModel says what to do. Send people to billingUrl for anything that needs a payment.
Autenticação
Cabeçalhos
Resposta
The user this credential acts for: the signed-in user for sessions and OAuth tokens, or the API key owner. Null for an API key that has no owner.
api_key: an x-api-key header. oauth: an access token issued to a connected app such as an MCP client. session: a Studio sign-in.
How generations are paid for, and so how to recover from a 402. credits: prepaid; top up, turn on auto top-up or upgrade at billingUrl. usage: metered and invoiced; pay the open invoice or update the payment method at billingUrl. free: monthly free allowance; upgrade at billingUrl. enterprise: contact your sync. account team.
Prepaid credit balance when billingModel is credits; null otherwise.
Free monthly allowance when billingModel is free; null otherwise.
Studio billing page where a person can change plan, pay, top up or update the payment method. It needs a signed-in browser.

