[egulu CLI reference](../index.md) / [egulu service-goals](index.md)

# egulu service-goals samples

GET /v1/projects/{project}/locations/{location}/serviceGoals/{serviceGoal}/samples

```sh
egulu service-goals samples [options]
```

## API operation

[ServiceGoalSamples_samples](../../api/observability/ServiceGoalSamples_samples.md): `GET /v1/projects/{project}/locations/{location}/serviceGoals/{serviceGoal}/samples` (observability module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--end-time` | value | no | endTime |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--service-goal` | value | yes | serviceGoal |
| `--start-time` | value | no | startTime |

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