Account Management
Get Account Balance
Read the current account balance and available usage units.
GET
Get Account Balance
Use this endpoint for account-level monitoring and before asking a user to
recover from
402 insufficient quota.
Do not predict whether a particular request will succeed by subtracting
hard-coded prices in the client. Task cost depends on current model and
parameters; use the task response’s usage metadata and current balance instead.Authorizations
API key from the Legnext dashboard. Authorization: Bearer <key> is accepted as an alternative.