app get
Show one application in detail.
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
| Argument | Type | Description |
|---|---|---|
APP | string | App name or id. Defaults to the linked app. Must match ^[a-zA-Z0-9]{5,45}$. |
Output
| Field | Type | Description |
|---|---|---|
id | string | |
name | string | Immutable internal name, used in URLs. |
displayName | string | null | Editable label. |
status | string | Effective state: paused, ready, building, deploying, queued, failed, crashed, canceled. The field to branch on. |
deploymentStatus | string | Last deployment's own state, which pausing does not change. |
paused | bool | |
instances | int | Configured replica count, 1 to 5. |
size | string | Instance type code, e.g. op-20. |
source | string | Where the image comes from: github, container-registry, or unknown:N. |
url | string | null | Where 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. |
endpoints | array | Every 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. |
repository | string | null | Owner/repository, for a Git-sourced app. |
branch | string | null | The branch that is deployed. |
imageRef | string | null | The image, for a container-registry app. Never set at the same time as repository. |
sourceUrl | string | null | The repository's web address. |
publicSource | bool | The source needs no credential to read. |
buildMethod | string | Dockerfile, buildpack or prebuilt-image. |
directory | string | null | Sub-directory built, when the repository holds more than one app. |
startCommand | string | null | Override for the image's own command. |
includePaths | string | null | Glob patterns, one per line. A push touching none of them does not build. |
ignorePaths | string | null | Glob patterns, one per line. A push touching only these does not build. |
commitMessage | string | null | Of the deployed commit. |
lastDeployedAt | string | When the last deployment started. RFC 3339, UTC. |
createdAt | string | RFC 3339, UTC. |
updatedAt | string | When the app's own record last changed, which a deployment does not touch. RFC 3339, UTC. |
Examples
Show one application
outplane app get checkoutShow the app this directory is linked to
outplane app getRead 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 listreturns {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:
| Exit | Kind | Meaning |
|---|---|---|
2 | usage | Invalid arguments, unknown flag, or client-side validation failure. |
3 | auth | Not authenticated, token revoked or expired, or forbidden for this team. |
5 | not_found | The named resource does not exist, or is not visible to this credential. |
8 | upstream | The 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.