Out Plane
deploy

deploy get

Show one deployment.

read onlyrepeatable

The state of one deployment: what it was built from, how it ended, and how long it took.

Polling this is how to wait for a build when the wait has to survive the process that started it. A pipeline that times out can pick the same deployment back up on its next run.

Usage

outplane deploy get <DEPLOYMENT> [APP]

Arguments

ArgumentTypeDescription
DEPLOYMENTstringDeployment id, a number. Required.
APPstringApp name or id. Defaults to the linked app.

Output

FieldTypeDescription
deploymentIdint
appstring
appIdstring
statusstringOne of queued, building, deploying, ready, failed, crashed, canceled.
branchstring | null
imageRefstring | null
commitMessagestring | null
startedAtstringRFC 3339, UTC.
durationstring | nullThe build only, humanised by the server.

Examples

Check a deployment by id

outplane deploy get 412 checkout

In a linked directory, the id is enough

outplane deploy get 412

Read one field in a script

outplane deploy get 4821 --json --fields status,finishedAt
{
  "finishedAt": "2026-08-02T09:14:05Z",
  "status": "ready"
}

What to Know

  • The application comes second, after the id. It is the one command in the CLI whose application is not the first argument, because the id is what a caller is holding when it needs this.
  • status is the deployment's own state and says nothing about whether the app is healthy now. A newer deployment may have replaced it.
  • Poll this rather than deploy create --wait when the wait has to survive the process being interrupted.

Errors

Beyond 0 for success, this command exits with:

ExitKindMeaning
2usageInvalid arguments, unknown flag, or client-side validation failure.
3authNot authenticated, token revoked or expired, or forbidden for this team.
5not_foundThe named resource does not exist, or is not visible to this credential.
8upstreamThe Out Plane API returned a server error.

The code on the error object is one of usage.bad_deployment_id, usage.missing_argument, app.not_found, context.no_app. Branch on that, or on the exit status. The message is prose and changes.

On this page