[egulu CLI reference](../index.md) / [egulu data-apis](index.md)

# egulu data-apis get-usage

GET /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/databases/{database}/dataApis/{dataApi}/usage

```sh
egulu data-apis get-usage [options]
```

## API operation

[DataApis_getUsage](../../api/dataapi/DataApis_getUsage.md): `GET /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/databases/{database}/dataApis/{dataApi}/usage` (dataapi module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--cluster` | value | yes | cluster |
| `--data-api` | value | yes | dataApi |
| `--database` | value | yes | database |
| `--hours` | value | no | hours |
| `--location` | value | yes | location |
| `--project` | value | yes | project |

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