← Back to schema index

BillingSubscriptionQuotaMeta

Quota summary for the active cycle. Returned at `meta.quota` by `GET /v1/billing/subscription`.

Properties

FieldTypeDescription
plan_slugstringUnique, human-readable plan identifier. It matches `data.attributes.plan_slug`.
plan_namestringPlan name shown in the interfaces.
billing_modelstringPlan billing model. `free`: No charge; `tiered`: Flat fee; `metered`: Charged by usage; `hybrid`: Flat fee plus usage.
sourcestringSubscription source — `stripe`: Payment through Stripe; `admin_granted`: Admin grant; `system_default`: Plan assigned by the system.
overage_enabledboolean`true` when the user has opted into overage billing on a `hybrid` plan. When so, `effective_limit` jumps from `included_validations` to `monthly_validation_limit`.
overage_availableboolean`true` when the plan is `hybrid` and overage billing is not active yet: the user can turn it on.
monthly_limit_overrideinteger | nullCycle limit set by an administrator for this subscription. When present, it overrides the plan's. `null` without an override.
included_validationsinteger | nullValidations included in the base quota before overage charges. `null` when the plan has no base quota.
monthly_validation_limitintegerValidation cap per subscription cycle. `0` allows no validations. On `hybrid` plans, it is the hard cap when `overage_enabled` is `true`; when it is `false`, `effective_limit` uses `included_validations`. On other models, it is the effective limit unless an admin override applies.
usedintegerValidations consumed in the current cycle.
limitintegerEffective validation limit for the current cycle. Same value as `data.attributes.effective_limit`, except with `quota_kind=trial`: then it is the trial allowance.
remainingintegerValidations available in the current cycle (`max(0, limit - used)`).
resets_atstring (date-time)ISO 8601 timestamp in UTC with an explicit `Z` suffix; for example, `"2026-05-01T05:14:38Z"`. The `*_at`, `*_end`, `*_start`, and `*_date` fields follow this format. `meta.datetime` describes the same contract in the response.
quota_kindstringWhere this quota comes from: `cycle` (the usual subscription cycle) or `trial` (an unclaimed account's initial trial allowance). Additive — a client that ignores it keeps working the same way.
renewsboolean`true` when this quota replenishes at the next cycle. `false` for `quota_kind=trial`: `resets_at` is the technical period's end, not a promise of more units.

Used in operations

  • GET /v1/billing/subscription

Referenced by schemas