[egulu CLI reference](../index.md) / [egulu agent-policies](index.md)

# egulu agent-policies list-versions

GET /v1/projects/{project}/locations/{location}/agentPolicies/{policy}/versions

```sh
egulu agent-policies list-versions [options]
```

## API operation

[AgentPolicies_listVersions](../../api/agentpolicies/AgentPolicies_listVersions.md): `GET /v1/projects/{project}/locations/{location}/agentPolicies/{policy}/versions` (agentpolicies module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--location` | value | yes | location |
| `--policy` | value | yes | policy |
| `--project` | value | yes | project |

The [global options](../index.md) apply too.
