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

# astro deployment pool list

<Info>
  This command is only available on Astro.
</Info>

List the Airflow pools stored in a Deployment's metadata database.

## Usage

```sh wrap theme={null}
astro deployment pool list
```

This command only lists Airflow pools that were configured through the Airflow UI or otherwise stored in the Airflow metadata database.

## Options

| Option                 | Description                                                                                                                     | Possible Values           |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| `-d`,`--deployment-id` | The ID of the Deployment to list Airflow pools for.                                                                             | Any valid Deployment ID   |
| `--deployment-name`    | The name of the Deployment to list Airflow pools for. Use as an alternative to `<deployment-id>`.                               | Any valid Deployment name |
| `-w`,`--workspace-id`  | List Airflow pools for a Deployment that is not in your current Workspace. If not specified, your current Workspace is assumed. | Any valid Workspace ID    |

## Output

| Output  | Description                                  | Data Type |
| ------- | -------------------------------------------- | --------- |
| `NAME`  | The name of the Airflow pool                 | String    |
| `SLOTS` | The total number of worker slots in the pool | String    |

## Examples

```bash wrap theme={null}
# List pools stored in the Deployment with an ID of cl03oiq7d80402nwn7fsl3dmv
astro deployment pool list --deployment-id cl03oiq7d80402nwn7fsl3dmv

# List pools stored in the Deployment "My Deployment"
astro deployment pool list --deployment-name="My Deployment"
```

## Related commands

* [`astro deployment pool create`](/docs/cli/v1.42/astro-deployment-pool-create)
* [`astro deployment pool update`](/docs/cli/v1.42/astro-deployment-pool-update)
