> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alpic.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# deployment inspect

> Show details of a deployment

Displays detailed information about a specific deployment, including its status, environment, author, source branch, commit, and duration.

## Usage

```bash theme={null}
alpic deployment inspect --deployment-id <deploymentId>
```

Fetches and prints the details of the specified deployment.

## Extended Usage

Inspect the latest deployment for an environment:

```bash theme={null}
alpic deployment inspect --environment-id <environmentId>
```

Wait for an in-progress deployment to reach a final state before printing its details:

```bash theme={null}
alpic deployment inspect --deployment-id <deploymentId> --wait
```

## Options

| Flag | Description | Default |
| - | - | - |
| `--deployment-id` | The ID of the deployment. Mutually exclusive with `--environment-id`. | — |
| `--environment-id` | Inspect the latest deployment for this environment. Mutually exclusive with `--deployment-id`. | — |
| `--wait` | Wait for the deployment to reach a final state (deployed, failed, or canceled). | `false` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.