Hanzo
OpenapiPlan

Resolves one plan to everything a consumer of the catalog needs at once: its…

Resolves one plan to everything a consumer of the catalog needs at once: its canonical entitlement block, the flat license-feature list a signed license…

GET /v1/plan/resolve/{id}

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

Resolves one plan to everything a consumer of the catalog needs at once: its canonical entitlement block, the flat license-feature list a signed license carries, its billing reference, and the catalog it came from. The id may be the plan's id or its slug, and it is resolved against the caller's catalog, so a reseller's override wins over the canonical record. An id no catalog holds answers 404.

Request

1 field.

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

Response

StatusBodyMeaning
200planResolutionok

200 body — 5 fields.

FieldInTypeAlwaysDescription
entitlementsbodyanyEntitlements is the canonical namespaced entitlement block derived from the plan's limits and addons — keys like "ai.tokens_per_min" and…
idbodystringID is the plan's catalog id.
license_featuresbodystring[]LicenseFeatures is the flat, sorted feature list a signed license carries, derived from the entitlements — "ai.premium", "licensing.product:team".
price_refbodyanyPriceRef is the plan's billing reference — currency, the recurring monthly and annual amounts, whether it prices per seat, its Stripe lookup key and its…
tenant_idbodystringTenantID is the catalog the record came from: "hanzo" for the canonical catalog, a reseller org for that reseller's override.

Failure carries the platform error shape — see Errors.

Examples

hanzo plans resolve get <id>

Plan API · All Hanzo APIs · Interactive reference

How is this guide?

On this page