Hanzo AI
OpenapiPricing

List enablement

Returns what the caller's org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted…

GET /v1/pricing/enablement

Addresshttps://api.hanzo.ai/v1/pricing/enablement
MethodGET
Operationget_pricing_enablement
AuthAuthorization: Bearer $HANZO_API_KEY

Returns what the caller's org can actually use: every managed item with its global state, whether it is effective here, whether this org is already opted into its beta, and whether it may still opt in. Read-only and safe for any caller — one without a validated principal simply sees the generally-available items and no opt-in affordance, never another org's state.

Request

GET /v1/pricing/enablement takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200enablementBoardok

200 body — 15 fields.

FieldInTypeAlwaysDescription
betasbodyuserEnablementItem[]Betas are the subset of Items the caller's org may still opt into.
betas[].canOptInbodybooleanCanOptIn is whether POST /v1/pricing/enablement/optin would do anything here: the item is in beta and this org is not on its list yet.
betas[].effectivebodybooleanEffective is whether the caller's org may use the item right now, which is the field to branch on: true for any ga item, for a beta this org holds, and never…
betas[].idbodystringID is the item within that namespace — a model id, a provider name, or a feature key.
betas[].kindbodystringKind is the namespace the id lives in: "model", "provider" or "feature".
betas[].optedInbodybooleanOptedIn is whether the caller's org is on this item's beta grant list.
betas[].statebodystringState is the item's GLOBAL availability — "off", "beta" or "ga" — which is the operator's setting and not this caller's answer.
itemsbodyuserEnablementItem[]Items is every managed item, each resolved for the caller's org.
items[].canOptInbodybooleanCanOptIn is whether POST /v1/pricing/enablement/optin would do anything here: the item is in beta and this org is not on its list yet.
items[].effectivebodybooleanEffective is whether the caller's org may use the item right now, which is the field to branch on: true for any ga item, for a beta this org holds, and never…
items[].idbodystringID is the item within that namespace — a model id, a provider name, or a feature key.
items[].kindbodystringKind is the namespace the id lives in: "model", "provider" or "feature".
items[].optedInbodybooleanOptedIn is whether the caller's org is on this item's beta grant list.
items[].statebodystringState is the item's GLOBAL availability — "off", "beta" or "ga" — which is the operator's setting and not this caller's answer.
orgbodystringOrg is the org this view was resolved for; empty for a caller with no validated principal, who sees only the generally-available items.

Failure carries the platform error shape — see Errors.

Examples

hanzo pricing enablement get

Pricing API · All Hanzo APIs · Interactive reference

How is this guide?

On this page