Skip to main content
GET
Read the plan, credits and current usage

Authorizations

Authorization
string
header
required

Access token issued by WorkOS AuthKit.

Response

The plan, its limits, credits and invoice so far

plan
enum<string>
required
Available options:
free,
paygo
max_environment_seconds
integer | null
required

How long an environment may run, or null for no limit

max_parallel_twins
integer | null
required

How many twins may run at once, or null for no limit

ai_generation_enabled
boolean
required

Whether seeds, generated tests and evaluators can be built

active_twins
integer
required

Twins currently asked to run

ready
boolean
required

Whether the billing account is set up; plan changes wait for it

upgrade_available
boolean
required

Whether this deployment can take a card for pay as you go

remaining_credit_cents
number | null

Spendable USD credit after current draft invoice deductions. Null while billing is unreachable or not yet set up.

invoice
InvoicePreview · object | null

The draft invoice for the current period, updated as usage arrives. Null while billing is unreachable or not yet set up.