Skip to main content
GET
Get subscription

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

account_id
string<uuid>
required

Response

Account subscriptions, limits and the selected subscription

seat_usage
object | null
required

Seat usage that seat changes and invitations are checked against, served on every read, including an account without a stored billing record. Null only while the account still has subscriptions without an owning account (migration.legacy_subscriptions above 0).

account_id
string<uuid>
required
billing_mode
enum<string>
required
Available options:
stripe,
external
tier_id
string
required
subscriptions
object[]
required
limits
object
required
migration
object
required
id
string | null

Billing record ID. Null, or absent under external billing, when the account has no stored billing record.

project_id
string | null

Project this subscription is scoped to, when applicable

line_items
object[]

Subscription line items. Credits are one-time top-ups and are not included here.

status
string | null

Subscription status

current_period_start
string | null

Current billing period start timestamp

current_period_end
string | null

Current billing period end timestamp

expires_at
string | null

Subscription expiration timestamp

canceled_at
string | null

Subscription cancellation timestamp

created_at
string | null

Billing record creation time. Null, or absent under external billing, when the account has no stored billing record.

plan_type
enum<string>

Canonical plan resolved from the configured plan price ID, independent of billed amount

Available options:
free,
pro,
enterprise
entitlements
object
server_usage
number

Active dedicated server records for the account

sandbox_usage
number

Active sandbox records for the account

server_usage_details
object[]

Active server add-on usage with linked project and environment labels

cycle
enum<string> | null

Billing cycle of the selected subscription. Null without a paid subscription.

Available options:
monthly,
yearly,
null