Get subscription

subscription: Subscription

Requires account.billing.read.

Arguments

This operation takes no arguments.

Response

Returns Subscription. Open the type for its fields and nested types.

FieldTypeDescription
idIDBilling record ID. Null when the account has no stored billing record.
typeSubscriptionType!
cycleSubscriptionCycle
statusStringDerived status: active, canceled, expired, or deleted
currentPeriodStartString
currentPeriodEndString
quantityInt
expiresAtString

All fields of Subscription.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query Subscription {  subscription {    id    projectId    status    createdAt    canceledAt  }}
variables.json
{}