Skip to main content
GET
List the caller's deployments

Authorizations

Authorization
string
header
required

A workspace-scoped Cloud JWT.

Query Parameters

status
enum<string>

Lifecycle state. unhealthy is a recoverable post-ready state: the deployment was serving but its endpoint degraded or vanished, and the control plane will move it back to ready if it recovers. stop_failed means a stop ran but could not release the compute, so the deployment may still be holding (and billing for) its endpoint; it is not terminal, and stopping it again retries the release. stopped and failed are terminal.

Available options:
queued,
provisioning,
starting,
ready,
unhealthy,
stopping,
stop_failed,
stopped,
failed
after
string

Opaque pagination cursor from a previous response's nextCursor.

buildId
string

Only the deployments of this build, deleted ones included as on the whole list.

name
string

Only the live deployment holding this name within buildId, which a name requires; a deleted deployment never matches. This is how a caller turns a build and a name into the id every other route takes.

projectId
string

Only the deployments that belong to this project: a project id, or default for the workspace's default project, which holds every deployment created without one. The default project is named only by default: its own id, like any id no deployment records, matches nothing. It narrows the list and grants nothing: every workspace member can list every project's deployments.

limit
integer
default:20
Required range: 1 <= x <= 100

Response

OK

deployments
object[]
required
total
integer
required

Total deployments matching the query.

hasMore
boolean
required

True when more results follow the returned page.

nextCursor
string

Present when hasMore is true; pass as after to fetch the next page.