Out Plane
app

app get

Show one application in detail.

read onlyrepeatable

Everything the platform knows about one application in a single object: where its image comes from, which ports it serves, the address it answers on, and how its last deployment ended.

This is the command to reach for when you want to confirm that a change landed. Environment variables are the one thing it will not show, in any format. Those belong to env list.

Usage

outplane app get [APP]

Arguments

ArgumentTypeDescription
APPstringApp name or id. Defaults to the linked app. Must match ^[a-zA-Z0-9]{5,45}$.

Output

FieldTypeDescription
idstring
namestringImmutable internal name, used in URLs.
displayNamestring | nullEditable label.
statusstringEffective state: paused, ready, building, deploying, queued, failed, crashed, canceled. The field to branch on.
deploymentStatusstringLast deployment's own state, which pausing does not change.
pausedbool
instancesintConfigured replica count, 1 to 5.
sizestringInstance type code, e.g. op-20.
sourcestringWhere the image comes from: github, container-registry, or unknown:N.
urlstring | nullWhere the app answers: the first public port's address, or its first custom domain when no port is public. null when it serves nothing over HTTP.
endpointsarrayEvery port: {portId, port, scheme, public, url, customDomains}. scheme is http, h2c or tcp; url is null on a private port; customDomains are full addresses, not host names; portId is what a custom domain binds to.
repositorystring | nullOwner/repository, for a Git-sourced app.
branchstring | nullThe branch that is deployed.
imageRefstring | nullThe image, for a container-registry app. Never set at the same time as repository.
sourceUrlstring | nullThe repository's web address.
publicSourceboolThe source needs no credential to read.
buildMethodstringDockerfile, buildpack or prebuilt-image.
directorystring | nullSub-directory built, when the repository holds more than one app.
startCommandstring | nullOverride for the image's own command.
includePathsstring | nullGlob patterns, one per line. A push touching none of them does not build.
ignorePathsstring | nullGlob patterns, one per line. A push touching only these does not build.
commitMessagestring | nullOf the deployed commit.
lastDeployedAtstringWhen the last deployment started. RFC 3339, UTC.
createdAtstringRFC 3339, UTC.
updatedAtstringWhen the app's own record last changed, which a deployment does not touch. RFC 3339, UTC.

Examples

Show one application

outplane app get checkout

Show the app this directory is linked to

outplane app get

Read just the public address

outplane app get checkout --json --fields url
{
  "url": "https://checkout-3000-acme.outplane.app"
}

List every port the app serves

outplane app get checkout --json --fields endpoints
{
  "endpoints": [
    {
      "customDomains": [
        "checkout.example.com"
      ],
      "port": 3000,
      "public": true,
      "scheme": "http",
      "url": "https://checkout-3000-acme.outplane.app"
    }
  ]
}

What to Know

  • Returns one object, not a list. app list returns {items, total, truncated}; this returns the fields directly.
  • Environment variables are never included, in any format, and no flag adds them.
  • url is the first address the app answers on: the platform address of the first public port, or a custom domain when no port is public. An app with several ports has one url and several endpoints, so read endpoints when the port matters.
  • A name is resolved by listing the team's applications first, so this costs two requests. Passing the id skips nothing: the id is resolved the same way.
  • repository and imageRef are mutually exclusive: a Git-sourced app has the first, a container-registry app has the second. Read source to know which to expect.
  • status describes the last deployment, not a health check. An app can be ready and still be serving errors.
  • A paused app reports status "paused" and keeps its own instances count. deploymentStatus says what it will return to.

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 app.not_found, app.ambiguous, context.no_app, usage.empty_argument, context.no_team. Branch on that, or on the exit status. The message is prose and changes.

On this page