Home / Developers / API reference / plans
plans
Plans, entitlements and usage metering (ADR-041). Owned by Groundnetic tenant management.
Get the effective plan
GET /v1/entitlements
Effective plan of the caller's application environment (application roles) or organization (organization roles), resolved from the local database only (FR-150, FR-151, FR-155; ADR-041): tier (standard | premium | enterprise), status (active | grace | baseline | default), source document, features, limits, allowances, the AI-credit entitlement of the copilot, the security controls included in every tier and the gateable feature catalog. Plans are owned by the Groundnetic tenant-management system; AUTHVERTEX never handles payment.
- Operation ID
getEntitlements- Authentication
- bearerAuth
- Authorization operation
entitlement.read
Parameters
No parameters.
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
tier | string | optional |
|
status | string | optional |
|
source | string | optional |
|
features | array of string | optional | |
limits | object | optional | |
limits.* | integer | optional | Any key; each value has this type. |
allowances | object | optional | |
allowances.* | integer | optional | Any key; each value has this type. |
document_id | string | optional | |
version | integer | optional | |
tenant_ref | string | optional | |
not_before | string (date-time) | optional | |
expires_at | string (date-time) | optional | |
grace_until | string (date-time) | optional | |
document_tier | string | optional | |
caps | object | optional | The configuration-time caps the document in effect sets (FR-185); absent when nothing is capped. |
caps.* | integer | optional | Any key; each value has this type. |
ai | object | optional | |
ai.ai_model_enabled | boolean | optional | |
ai.ai_credit_allowance | integer | optional | |
ai.ai_credit_hard_cap | integer | optional | |
security_controls | array of string | optional | |
baseline_capabilities | array of string | optional | |
catalog | array of object | optional | |
catalog[].feature | string | optional | |
catalog[].entitled | boolean | optional | |
catalog[].minimum_tier | string | optional | |
catalog[].suspends_on_downgrade | boolean | optional | |
grace_seconds | integer | optional | Effective grace period in seconds (signed grace_seconds, 7 days when absent, lowered by ENTITLEMENT_GRACE; ADR-079). |
warn_at_percent | array of integer | optional | Plan-usage warning thresholds of the document in effect (default [80]; FR-205). |
not_yet_enforced | array of string | optional | Catalog features with no gate yet; never listed in features or catalog (ADR-079). |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
Get hourly usage
GET /v1/usage
Hourly usage aggregates of the billable dimensions (FR-153, FR-155) for period hours in [from, to) (RFC 3339; default the last 24 hours; at most 93 days). Organization roles see their organization only; application roles also see application-level dimensions (organizations).
- Operation ID
getUsage- Authentication
- bearerAuth
- Authorization operation
usage.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
from | query | string (date-time) | optional | |
to | query | string (date-time) | optional |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
from | string (date-time) | optional | |
to | string (date-time) | optional | |
aggregates | array of object | optional | |
aggregates[].organization_id | string (uuid) | optional | |
aggregates[].dimension | string | optional | |
aggregates[].kind | string | optional |
|
aggregates[].hour | string (date-time) | optional | |
aggregates[].quantity | integer | optional | |
aggregates[].records | integer | optional | |
totals | object | optional | |
totals.* | integer | optional | Any key; each value has this type. |
kinds | object | optional | |
kinds.* | string | optional | Any key; each value has this type. |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |