Saltar al contenido principal
GET
List the caller's deployments

Autorizaciones

Authorization
string
header
requerido

A workspace-scoped Cloud JWT.

Parámetros de consulta

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.

Opciones disponibles:
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
predeterminado:20
Rango requerido: 1 <= x <= 100

Respuesta

OK

deployments
object[]
requerido
total
integer
requerido

Total deployments matching the query.

hasMore
boolean
requerido

True when more results follow the returned page.

nextCursor
string

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