Skip to main content
GET
Get agent plan

Authorizations

Authorization
string
header
required

Firebase ID token from /auth or any paid route, sent as a Bearer token: Authorization: Bearer <id_token> (the Bearer prefix is required).

Response

The account's plan and remaining usage

plan
enum<string>
required
Available options:
free,
starter,
pro,
max
plan_name
string
required
price_usd
number
required

Monthly price before tax. 0 for Free.

credits_total
integer
required

Credits the plan includes: each month for paid plans, once for Free (200).

credits_used
integer
required
credits_left
integer
required
resets_at
string<date-time> | null
required

When the usage refills. Null for Free, whose credit never refills.

status
enum<string>
required

pending while a first payment settles.

Available options:
free,
active,
pending
cancel_at_period_end
boolean
required

The plan ends when the current period does.

scheduled_plan
string | null
required

A smaller plan the account moves to when the current period ends.

payment_failing
boolean
required

The last renewal payment failed and is being retried. The human updates the payment method in Plan & billing.

current_period_end
string<date-time> | null
required
hosted_agent
boolean
required

The plan gives the agent its own always-on computer.

deeper_reasoning
boolean
required
projects
integer
required

Sites and apps the agent may keep online at once.

upgrade_hint
string