Hanzo
OpenapiPlan

Returns what one plan GRANTS and not what it costs: the canonical namespaced…

Returns what one plan GRANTS and not what it costs: the canonical namespaced entitlement block and the flat license-feature list derived from it.

GET /v1/plan/entitlements/{id}

Addresshttps://api.hanzo.ai/v1/plan/entitlements/{id}
MethodGET
Operationget_plan_entitlements_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Returns what one plan GRANTS and not what it costs: the canonical namespaced entitlement block and the flat license-feature list derived from it. It is the entitlement half of ResolvePlan, over the same catalog and the same 404 for an id no catalog holds — the read a licensing or quota gate makes.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the plan's catalog id or slug — "pro", "team", "world-enterprise", "rpc-growth".

Response

StatusBodyMeaning
200planEntitlementsok

200 body — 3 fields.

FieldInTypeAlwaysDescription
entitlementsbodyanyEntitlements is the canonical namespaced entitlement block derived from the plan's limits and addons, where -1 means unlimited.
idbodystringID is the plan id or slug that was resolved, as it was requested.
license_featuresbodystring[]LicenseFeatures is the flat, sorted feature list a signed license carries, derived from the entitlements.

Failure carries the platform error shape — see Errors.

Examples

hanzo plans entitlements get <id>

Plan API · All Hanzo APIs · Interactive reference

How is this guide?

On this page