# gram status

The `status` command checks the status of a deployment in a project. If
no deployment ID is provided, the command shows the status of the latest
deployment.

<Callout type="info">
    The `gram status` command requires an API key, an organization slug, and a
    project slug. After running `gram auth`, these values come from the local
    profile. For more information on these values, see the [global CLI
    options](/docs/ai-control-plane/reference/command-line#global-cli-options).
</Callout>

## Usage

Check the status of the latest deployment:

```bash
gram status
```

Check the status of a specific deployment:

```bash
gram status --id deployment-123
```

Get deployment status as JSON:

```bash
gram status --json
```

## Options

### <code>id</code>

This adds a deployment ID to specify which deployment to check the status for. If not provided, the command shows the status of the latest deployment.

```bash
gram status --id deployment-123 [other options]
```

### <code>json</code>

This option outputs the deployment status as JSON, which is useful for scripting and
automation.

```bash
gram status --json [other options]
```
