Entitlements API
GET /api/v1/admin/entitlements
Section titled “GET /api/v1/admin/entitlements”GET /api/v1/admin/entitlements · operation listEntitlements
Requires plan_entitlements and entitlement_management, global admin and entitlements:manage. Plans are a ceiling additional to flags, key scopes, memberships, policy and allowlists. No plan grants permissions. Every mutation revalidates the named administrator and active team transactionally, uses per-entity version plus YAML base fingerprint, and records request-correlated audit. Revert restores YAML or leaves an unbound/absent tombstone; referenced console-only plans cannot be removed. Rights are the tenant-scoped IDs from feature_catalog. The four legacy rights retain their prior enforcement unless feature_plan_entitlements is enabled; the expanded mode also enables scoped prompt and skill ceilings. New classified grants, binding changes and reverts are checked transactionally against current activation; they never grant membership, role, rendering or execution.
Authentication: adminSession
Responses
| Status | Description | Body |
|---|---|---|
200 |
Effective YAML plus PostgreSQL catalog; private, no-store | application/json: EntitlementCatalog |
401 |
Console session required | — |
403 |
Global administrator required; CSRF required for writes | — |
404 |
Feature disabled or active resource/override unavailable | — |
409 |
Entity/base version, reference or capacity conflict | — |
503 |
PostgreSQL unavailable | — |
PUT /api/v1/admin/entitlements/plans
Section titled “PUT /api/v1/admin/entitlements/plans”PUT /api/v1/admin/entitlements/plans · operation setEntitlementPlan
Requires plan_entitlements and entitlement_management, global admin and entitlements:manage. Plans are a ceiling additional to flags, key scopes, memberships, policy and allowlists. No plan grants permissions. Every mutation revalidates the named administrator and active team transactionally, uses per-entity version plus YAML base fingerprint, and records request-correlated audit. Revert restores YAML or leaves an unbound/absent tombstone; referenced console-only plans cannot be removed. Rights are the tenant-scoped IDs from feature_catalog. The four legacy rights retain their prior enforcement unless feature_plan_entitlements is enabled; the expanded mode also enables scoped prompt and skill ceilings. New classified grants, binding changes and reverts are checked transactionally against current activation; they never grant membership, role, rendering or execution. Complete mutation JSON is bounded to 16384 bytes, with unique fields, valid UTF-8 and bounded nesting. A present disabled value must be boolean; omitted disabled defaults false. Omitted, null or empty rights grant no rights.
Authentication: adminSession
Request body (required)
application/json: objectbase_fingerprint(string, required, pattern^[a-f0-9]{64}$)version(integer (int64), required, min 0)plan(EntitlementPlan, required)
Responses
| Status | Description | Body |
|---|---|---|
204 |
Committed versioned override or reversion | — |
400 |
Invalid explicit rights, identifier, version or unexpected fields | — |
401 |
Console session required | — |
403 |
Global administrator required; CSRF required for writes | — |
404 |
Feature disabled or active resource/override unavailable | — |
409 |
Entity/base version, reference or capacity conflict | — |
413 |
Complete JSON body exceeds 16384 bytes | — |
503 |
PostgreSQL unavailable | — |
DELETE /api/v1/admin/entitlements/plans
Section titled “DELETE /api/v1/admin/entitlements/plans”DELETE /api/v1/admin/entitlements/plans · operation revertEntitlementPlan
Requires plan_entitlements and entitlement_management, global admin and entitlements:manage. Plans are a ceiling additional to flags, key scopes, memberships, policy and allowlists. No plan grants permissions. Every mutation revalidates the named administrator and active team transactionally, uses per-entity version plus YAML base fingerprint, and records request-correlated audit. Revert restores YAML or leaves an unbound/absent tombstone; referenced console-only plans cannot be removed. Rights are the tenant-scoped IDs from feature_catalog. The four legacy rights retain their prior enforcement unless feature_plan_entitlements is enabled; the expanded mode also enables scoped prompt and skill ceilings. New classified grants, binding changes and reverts are checked transactionally against current activation; they never grant membership, role, rendering or execution. Complete mutation JSON is bounded to 16384 bytes, with unique fields, valid UTF-8 and bounded nesting. A present disabled value must be boolean; omitted disabled defaults false. Omitted, null or empty rights grant no rights.
Authentication: adminSession
Request body (required)
application/json: objectbase_fingerprint(string, required, pattern^[a-f0-9]{64}$)version(integer (int64), required, min 0)id(string, required, max length 64)
Responses
| Status | Description | Body |
|---|---|---|
204 |
Committed versioned override or reversion | — |
400 |
Invalid explicit rights, identifier, version or unexpected fields | — |
401 |
Console session required | — |
403 |
Global administrator required; CSRF required for writes | — |
404 |
Feature disabled or active resource/override unavailable | — |
409 |
Entity/base version, reference or capacity conflict | — |
413 |
Complete JSON body exceeds 16384 bytes | — |
503 |
PostgreSQL unavailable | — |
PUT /api/v1/admin/entitlements/teams
Section titled “PUT /api/v1/admin/entitlements/teams”PUT /api/v1/admin/entitlements/teams · operation setTeamEntitlement
Requires plan_entitlements and entitlement_management, global admin and entitlements:manage. Plans are a ceiling additional to flags, key scopes, memberships, policy and allowlists. No plan grants permissions. Every mutation revalidates the named administrator and active team transactionally, uses per-entity version plus YAML base fingerprint, and records request-correlated audit. Revert restores YAML or leaves an unbound/absent tombstone; referenced console-only plans cannot be removed. Rights are the tenant-scoped IDs from feature_catalog. The four legacy rights retain their prior enforcement unless feature_plan_entitlements is enabled; the expanded mode also enables scoped prompt and skill ceilings. New classified grants, binding changes and reverts are checked transactionally against current activation; they never grant membership, role, rendering or execution. Complete mutation JSON is bounded to 16384 bytes, with unique fields, valid UTF-8 and bounded nesting. A present disabled value must be boolean; omitted disabled defaults false. Omitted, null or empty rights grant no rights.
Authentication: adminSession
Request body (required)
application/json: objectbase_fingerprint(string, required, pattern^[a-f0-9]{64}$)version(integer (int64), required, min 0)binding(TeamPlanBinding, required)
Responses
| Status | Description | Body |
|---|---|---|
204 |
Committed versioned override or reversion | — |
400 |
Invalid explicit rights, identifier, version or unexpected fields | — |
401 |
Console session required | — |
403 |
Global administrator required; CSRF required for writes | — |
404 |
Feature disabled or active resource/override unavailable | — |
409 |
Entity/base version, reference or capacity conflict | — |
413 |
Complete JSON body exceeds 16384 bytes | — |
503 |
PostgreSQL unavailable | — |
DELETE /api/v1/admin/entitlements/teams
Section titled “DELETE /api/v1/admin/entitlements/teams”DELETE /api/v1/admin/entitlements/teams · operation revertTeamEntitlement
Requires plan_entitlements and entitlement_management, global admin and entitlements:manage. Plans are a ceiling additional to flags, key scopes, memberships, policy and allowlists. No plan grants permissions. Every mutation revalidates the named administrator and active team transactionally, uses per-entity version plus YAML base fingerprint, and records request-correlated audit. Revert restores YAML or leaves an unbound/absent tombstone; referenced console-only plans cannot be removed. Rights are the tenant-scoped IDs from feature_catalog. The four legacy rights retain their prior enforcement unless feature_plan_entitlements is enabled; the expanded mode also enables scoped prompt and skill ceilings. New classified grants, binding changes and reverts are checked transactionally against current activation; they never grant membership, role, rendering or execution. Complete mutation JSON is bounded to 16384 bytes, with unique fields, valid UTF-8 and bounded nesting. A present disabled value must be boolean; omitted disabled defaults false. Omitted, null or empty rights grant no rights.
Authentication: adminSession
Request body (required)
application/json: objectbase_fingerprint(string, required, pattern^[a-f0-9]{64}$)version(integer (int64), required, min 0)team_id(string, required, max length 128)
Responses
| Status | Description | Body |
|---|---|---|
204 |
Committed versioned override or reversion | — |
400 |
Invalid explicit rights, identifier, version or unexpected fields | — |
401 |
Console session required | — |
403 |
Global administrator required; CSRF required for writes | — |
404 |
Feature disabled or active resource/override unavailable | — |
409 |
Entity/base version, reference or capacity conflict | — |
413 |
Complete JSON body exceeds 16384 bytes | — |
503 |
PostgreSQL unavailable | — |
PUT /api/v1/admin/entitlements/organizations
Section titled “PUT /api/v1/admin/entitlements/organizations”PUT /api/v1/admin/entitlements/organizations · operation setOrganizationEntitlement
Requires organization_plan_entitlements, organizations, plan_entitlements and entitlement_management, global admin and entitlements:manage. Plans are a ceiling additional to flags, key scopes, memberships, policy and allowlists. No plan grants permissions. Every mutation revalidates the named administrator and active organization transactionally, uses per-entity version plus YAML base fingerprint, and records request-correlated audit. Revert restores YAML or leaves an unbound/absent tombstone; referenced console-only plans cannot be removed. Rights are the tenant-scoped IDs from feature_catalog. The four legacy rights retain their prior enforcement unless feature_plan_entitlements is enabled; the expanded mode also enables scoped prompt and skill ceilings. New classified grants, binding changes and reverts are checked transactionally against current activation; they never grant membership, role, rendering or execution. Complete mutation JSON is bounded to 16384 bytes, with unique fields, valid UTF-8 and bounded nesting. A present disabled value must be boolean; omitted disabled defaults false. Omitted, null or empty rights grant no rights.
Authentication: adminSession
Request body (required)
application/json: objectbase_fingerprint(string, required, pattern^[a-f0-9]{64}$)version(integer (int64), required, min 0)binding(OrganizationPlanBinding, required)
Responses
| Status | Description | Body |
|---|---|---|
204 |
Committed versioned override or reversion | — |
400 |
Invalid explicit rights, identifier, version or unexpected fields | — |
401 |
Console session required | — |
403 |
Global administrator required; CSRF required for writes | — |
404 |
Feature disabled or active resource/override unavailable | — |
409 |
Entity/base version, reference or capacity conflict | — |
413 |
Complete JSON body exceeds 16384 bytes | — |
503 |
PostgreSQL unavailable | — |
DELETE /api/v1/admin/entitlements/organizations
Section titled “DELETE /api/v1/admin/entitlements/organizations”DELETE /api/v1/admin/entitlements/organizations · operation revertOrganizationEntitlement
Requires organization_plan_entitlements, organizations, plan_entitlements and entitlement_management, global admin and entitlements:manage. Plans are a ceiling additional to flags, key scopes, memberships, policy and allowlists. No plan grants permissions. Every mutation revalidates the named administrator and active organization transactionally, uses per-entity version plus YAML base fingerprint, and records request-correlated audit. Revert restores YAML or leaves an unbound/absent tombstone; referenced console-only plans cannot be removed. Rights are the tenant-scoped IDs from feature_catalog. The four legacy rights retain their prior enforcement unless feature_plan_entitlements is enabled; the expanded mode also enables scoped prompt and skill ceilings. New classified grants, binding changes and reverts are checked transactionally against current activation; they never grant membership, role, rendering or execution. Complete mutation JSON is bounded to 16384 bytes, with unique fields, valid UTF-8 and bounded nesting. A present disabled value must be boolean; omitted disabled defaults false. Omitted, null or empty rights grant no rights.
Authentication: adminSession
Request body (required)
application/json: objectbase_fingerprint(string, required, pattern^[a-f0-9]{64}$)version(integer (int64), required, min 0)organization_id(string, required, max length 128)
Responses
| Status | Description | Body |
|---|---|---|
204 |
Committed versioned override or reversion | — |
400 |
Invalid explicit rights, identifier, version or unexpected fields | — |
401 |
Console session required | — |
403 |
Global administrator required; CSRF required for writes | — |
404 |
Feature disabled or active resource/override unavailable | — |
409 |
Entity/base version, reference or capacity conflict | — |
413 |
Complete JSON body exceeds 16384 bytes | — |
503 |
PostgreSQL unavailable | — |