Skip to main content
GET
Get credit balance

Authorizations

Authorization
string
header
required

A workspace API key from Settings → API keys in the dashboard (https://app.driver.dev), sent as a bearer token.

Response

Your workspace's credit balance.

plan
object
required
status
string
required

Account status: active, trialing, past_due or canceled.

Example:

"active"

monthlyCredit
object | null
required

The plan's monthly dollar credit; null for a plan that does not include one.

purchasedCredit
object
required

Credit bought as top-ups. Spent after the monthly credit; never expires.

preservedCredit
object
required

Credit carried over from earlier billing. Spent after purchased credit; never expires.

totalSpendable
object
required

Monthly credit remaining plus purchased and preserved credit.

limits
object
required