Hanzo
OpenapiPlan

Returns the two JSON Schema documents this surface speaks:…

Returns the two JSON Schema documents this surface speaks: entitlements.schema.json, which declares every entitlement key with its type, unit and enum,…

GET /v1/plan/schema

Addresshttps://api.hanzo.ai/v1/plan/schema
MethodGET
Operationget_plan_schema
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the two JSON Schema documents this surface speaks: entitlements.schema.json, which declares every entitlement key with its type, unit and enum, and plan.schema.json, which a catalog plan record conforms to.

Request

GET /v1/plan/schema takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200planSchemasok

200 body — 2 fields.

FieldInTypeAlwaysDescription
entitlementsbodyanyEntitlements is entitlements.schema.json — the JSON Schema every entitlement key is declared in, including its type, unit and enum.
planbodyanyPlan is plan.schema.json — the JSON Schema a catalog plan record conforms to.

Failure carries the platform error shape — see Errors.

Examples

hanzo plans schema

Plan API · All Hanzo APIs · Interactive reference

How is this guide?

On this page