控制台 API: plan-tier
本页由 server/api/openapi.yaml 生成,内容为英文,请勿手工修改。
V3 B4. Plan tier attributes (rate caps, model scope, production use) as customers see them. Handlers: internal/console/plantier.
GET /api/v1/plan-tiers
Section titled “GET /api/v1/plan-tiers”Tier attributes of the plans on offer
operationId planTierList · auth: orgSession
Plans without a tier are not listed (they restrict nothing). Use with GET /api/v1/billing/plans.
| Status | Meaning | Body |
|---|---|---|
| 200 | OK | application/json PlanTierList |
| default | Error envelope. The HTTP status follows the error kind. | application/json Error |
Response 200 application/json — PlanTierList
data(array of PlanTier, required)plan_id(string, required) limits(PlanTierLimits, required) — 0 = no cap from the plan.rpm(integer, required, minimum: 0) tpm(integer, required, minimum: 0) concurrency(integer, required, minimum: 0)
model_allowlist(array of string, required, nullable)production_use_allowed(boolean, required)updated_at(string, required)
GET /api/v1/plan-tiers/current
Section titled “GET /api/v1/plan-tiers/current”The tier restrictions that apply to the active organisation now
operationId planTierCurrent · auth: orgSession
| Status | Meaning | Body |
|---|---|---|
| 200 | OK | application/json EffectivePlanTier |
| default | Error envelope. The HTTP status follows the error kind. | application/json Error |
Response 200 application/json — EffectivePlanTier
active(boolean, required)plan_ids(array of string, required) limits(PlanTierLimits, required) — 0 = no cap from the plan.rpm(integer, required, minimum: 0) tpm(integer, required, minimum: 0) concurrency(integer, required, minimum: 0)
model_allowlist(array of string, required, nullable)production_use_allowed(boolean, required)