Skip to main content
GET
Retrieve your balance

Authorizations

x-api-key
string
header
required

Your workspace API key, leap_.... Create one at https://app.tryleap.ai/go/api, and keep it on your server.

Response

The balance.

Your workspace's balance.

object
string
required
Allowed value: "credits"
available_usd
string
required

What you can spend now: your balance minus what running generations hold, as an exact decimal string in US dollars.

held_usd
string
required

What generations still running hold.

welcome
object
required

The one-time welcome credit that workspaces made before 2026-10-14 could get.

auto_top_up
object
required

Auto top-up, which keeps your keys running when the balance runs low. Turn it on at add_credits_url.

membership
object | null
required

Your workspace's monthly membership, or null when it has none. Join or cancel at add_credits_url.

add_credits_url
string
required

Where a person adds credit and turns on auto top-up, in the studio.