# dflow apps:inspect

> Show the desired image, port, replicas, CPU, memory, and the observed conditions when the API has them.

Web page: /docs/cli/apps/apps-inspect/

This shows one application: the image you asked for, the port, the replica count, CPU, memory, and the conditions the API has observed. `--watch` prints it again when that application changes. Every stored status, including `failed`, is still a successful read.

```bash
dflow apps:inspect NAME
```

## Flags

`--watch` prints the application again when the workspace stream reports a change. It needs the current workspace. If that stream is not available, the command uses the workspace watch route. `--output`, `--api`, and `--context` still apply.

## What you see

The terminal prints aligned labels `name`, `status`, `id`, then `image`, `port`, and `replicas` when a deployment exists, then `cpu_millicores` and `memory_mi` when the latest deployment stored them, then one label per observed condition. On a terminal, status and `True` are green and `False` is red. A name must match the application name pattern. An `app_` id is loaded directly. A name is resolved by listing the environment. Exit 0 for every stored status, including `failed`.

## When it fails

Exit 1: bad name or missing context. Exit 2: auth. Exit 3: not found. Exit 10: unreachable.
