← Back to schema index

PlanQuotaState

Current validation quota state: limit, usage, balance, and reset.

Properties

FieldTypeDescription
plan_slugstring

Unique, human-readable plan identifier. It corresponds to the user's active plan.

plan_namestring

Plan name shown in the interfaces.

limitinteger

Effective validation limit for the current cycle.

usedinteger

Validations consumed in the current cycle.

remaininginteger

Validations 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.

billing_modelstring

The plan's billing model. With hybrid the plan includes validations and, with overage enabled, keeps validating up to limit. Additive.

overage_enabledboolean

true when overage is enabled: validations above included_validations are billed separately and limit is the plan's cap. Additive.

included_validationsinteger | null

Validations included in the plan per cycle. null when the plan does not separate what is included from the limit. Additive.

Used in operations

  • GET /v1/api/usage
  • GET /v1/admin/users
  • POST /v1/admin/users
  • PUT /v1/admin/users/{id}
  • PUT /v1/admin/users/{id}/suspend
  • GET /v1/admin/users/recent

Referenced by schemas