Skip to main content
GET
Get current plan
Minimum role required: Viewer

Authorizations

X-Axilio-Api-Key
string
header
required

Customer API key (axl_ prefix).

Response

OK

Full subscription record returned by subscription endpoints.

balance_display
string
required

Formatted balance string (e.g., '$12.50').

balance_microdollars
integer<int64>
required

Current account balance in microdollars.

billing_cycle
enum<string>
required

Billing frequency for this subscription.

Available options:
monthly,
yearly
cancel_at_period_end
boolean
required

Whether the subscription cancels at the end of the period.

current_period_end
string<date-time>
required

End of the current billing period.

current_period_start
string<date-time>
required

Start of the current billing period.

id
string<uuid>
required

Subscription identifier.

included_balance_display
string
required

Formatted included balance (e.g., '$10.00').

included_balance_microdollars
integer<int64>
required

Balance granted each billing period in microdollars.

max_concurrent_runs
integer<int64>
required

Maximum simultaneous runs allowed on this plan.

monthly_price
number<double>
required

Monthly plan price in dollars.

plan_id
string<uuid>
required

Billing plan's identifier.

plan_name
string
required

Customer-facing plan name.

price_per_second_microdollars
integer<int64>
required

Per-second compute charge in microdollars.

status
enum<string>
required

Current lifecycle state of the subscription.

Available options:
active,
canceled,
past_due,
trialing,
incomplete,
incomplete_expired,
unpaid
yearly_price
number<double>
required

Annual plan price in dollars.

canceled_at
string<date-time>

Timestamp when the subscription was canceled.

pending_downgrade_effective_date
string<date-time>

When the pending downgrade takes effect.

pending_downgrade_plan_id
string

Plan ID of a scheduled future downgrade.

trial_end
string<date-time>

Timestamp when the free trial ends.