メインコンテンツへスキップ
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.