# List what an alert can watch

> Declared before `/{alert_id}`, or FastAPI matches 'sources' as an id and 404s it.

Source: https://docs.levelfour.ai/api-reference/cost-alerts/get-cost-alerts-sources


## GET /api/v1/cost-alerts/sources

Declared before `/{alert_id}`, or FastAPI matches 'sources' as an id and 404s it.

### Authentication

Send `Authorization: Bearer <token>`.

### Responses

#### 200: Successful Response

- `success` (boolean, default `true`)
- `timestamp` (date-time string)
- `data` (array of object, required)
  - `id` (string, required)
  - `label` (string, required)
  - `group` (one of `accounts`, `views`, `commitments`, required)
  - `provider` (string, nullable): Cloud this source reports under. Null when it reads more than one.

#### Errors

- `400`: Bad Request
- `401`: Authentication Error
- `403`: Authorization Error
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `429`: Rate Limit Exceeded
- `500`: Internal Server Error

Body of `400`, `401`, `403`, `404`, `409`, `422`, `429`, `500`:

- `success` (`false`, required)
- `error` (object, required)
  - `code` (string, required)
  - `message` (string, required)
  - `details` (any)
- `timestamp` (date-time string, required)
