메인 콘텐츠로 건너뛰기
GET
List the caller's deployments

인증

Authorization
string
header
필수

A workspace-scoped Cloud JWT.

쿼리 매개변수

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.

사용 가능한 옵션:
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
기본값:20
필수 범위: 1 <= x <= 100

응답

OK

deployments
object[]
필수
total
integer
필수

Total deployments matching the query.

hasMore
boolean
필수

True when more results follow the returned page.

nextCursor
string

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