/v1/deployments/plansReturns the compute plans available for deployments, cheapest first. Only plans that are
currently available are listed. Use a plan's slug as plan_slug when you
create a deployment or
change its plan.
Plans with free_allowance_count above 0 are Free plans. A Free app always scales to zero
when idle, runs a single instance, and counts toward a per-account allowance (see
Get the free app quota).
The list can include plans reserved for one-click app components, such as
deploy-backing. Those cannot be chosen when creating a deployment or changing a plan
(invalid deployment plan).
This endpoint needs an API key but no workspace.
Authentication
Send your API key as Authorization: Bearer <token>.
Response
The available deployment plans.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
uidstringUnique identifier of the plan.
namestringRequiredDisplay name.
slugstringRequiredIdentifier to pass as plan_slug.
productstringRequiredAlways deployment for these plans.
zone_slugstringRequiredZone the plan runs in.
vcpuintegerRequiredWhole vCPU count. Coarse; prefer cpu_limit_millis.
cpu_request_millisintegerRequiredGuaranteed CPU in millicores (1000 = one core).
cpu_limit_millisintegerRequiredMaximum CPU in millicores the app can burst to.
memory_mibintegerRequiredMemory limit in MiB.
included_disk_gibintegerIncluded disk in GiB.
included_egress_gibintegerIncluded outbound transfer per month in GiB.
network_ingress_mbitintegerInbound bandwidth limit in Mbit/s.
network_egress_mbitintegerOutbound bandwidth limit in Mbit/s.
monthly_price_centsintegerRequiredPrice per month per replica, in cents of currency.
hourly_price_centsintegerHourly price in whole cents. Often 0 for cheap plans; use hourly_price_micros.
hourly_price_microsintegerHourly price in millionths of the currency unit.
currencystringRequiredISO currency code.
free_allowance_countintegerRequiredFor Free plans, how many apps each account may run on this plan. 0 for paid plans.
availablebooleanRequiredWhether new deployments can use the plan.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
Errors use the standard error format.