Get credits balance
get_credits_balanceStudio credit balance and top-up link. Requires an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key if the client can't send an Authorization header |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | What one credit buys | |
| error | No | Machine-readable error code (only present on failures) | |
| credits | No | Available studio credits (subscription + bonus) | |
| message | No | Human-readable explanation of the failure | |
| topup_url | No | Where to buy more credits |