billing.balance
Check your account credit balance to confirm available funds cover a deployment hold. Use before deploying or when receiving an insufficient credits error.
Instructions
Return the account credit position as total, held, and available USD without modifying the balance. Call when deploy.run returns HTTP 402 insufficient_credits, or before deploy.run when you need to confirm availableUsd covers the hold. Do not use this to add funds — call billing.top_up when availableUsd is insufficient, then retry deploy.run. Read-only; does not create charges or hold credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| heldUsd | Yes | ||
| accountId | Yes | ||
| balanceUsd | Yes | ||
| availableUsd | Yes |