[egulu CLI reference](../index.md) / [egulu costs](index.md)

# egulu costs query

GET /v1/projects/{project}/locations/{location}/costs

```sh
egulu costs query [options]
```

## API operation

[ProjectCosts_query](../../api/billing/ProjectCosts_query.md): `GET /v1/projects/{project}/locations/{location}/costs` (billing module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--end-time` | value | no | endTime |
| `--group-by` | value | no | groupBy |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--resource` | value | no | resource |
| `--start-time` | value | no | startTime |

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