Skip to content

List deployment plans

GET/v1/deployments/plans

Returns 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

200

The available deployment plans.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataarray of objects
Show item attributes
uidstring

Unique identifier of the plan.

namestringRequired

Display name.

slugstringRequired

Identifier to pass as plan_slug.

productstringRequired

Always deployment for these plans.

zone_slugstringRequired

Zone the plan runs in.

vcpuintegerRequired

Whole vCPU count. Coarse; prefer cpu_limit_millis.

cpu_request_millisintegerRequired

Guaranteed CPU in millicores (1000 = one core).

cpu_limit_millisintegerRequired

Maximum CPU in millicores the app can burst to.

memory_mibintegerRequired

Memory limit in MiB.

included_disk_gibinteger

Included disk in GiB.

included_egress_gibinteger

Included outbound transfer per month in GiB.

network_ingress_mbitinteger

Inbound bandwidth limit in Mbit/s.

network_egress_mbitinteger

Outbound bandwidth limit in Mbit/s.

monthly_price_centsintegerRequired

Price per month per replica, in cents of currency.

hourly_price_centsinteger

Hourly price in whole cents. Often 0 for cheap plans; use hourly_price_micros.

hourly_price_microsinteger

Hourly price in millionths of the currency unit.

currencystringRequired

ISO currency code.

free_allowance_countintegerRequired

For Free plans, how many apps each account may run on this plan. 0 for paid plans.

availablebooleanRequired

Whether new deployments can use the plan.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.

Errors use the standard error format.