# Annotations

> Data API reference, generated from the OpenAPI spec.

HTML version: https://www.mux.com/docs/api-reference/data/annotations. Full OpenAPI spec: https://www.mux.com/api-spec.json

## List Annotations

`GET https://api.mux.com/data/v1/annotations`

Returns a list of annotations.

Operation ID: `list-annotations`. HTML version: https://www.mux.com/docs/api-reference/data/annotations/list-annotations

### Query parameters

- `limit` (integer, format: int32, default: 25): Number of items to include in the response
- `page` (integer, format: int32, default: 1): Offset by this many pages, of the size of `limit`
- `order_direction` (string): Sort order. Possible values: `"asc"`, `"desc"`.
- `timeframe[]` (array of string): Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. `timeframe[]=1498867200&timeframe[]=1498953600` * duration string e.g. `timeframe[]=24:hours or timeframe[]=7:days`

### Response `200`

OK

- `data` (array of object, required)
  - `id` (string, required, format: uuid): Unique identifier for the annotation
  - `note` (string, required): The annotation note content
  - `date` (string, required, format: date-time): Datetime when the annotation applies
  - `sub_property_id` (string, nullable): Customer-defined sub-property identifier
- `total_row_count` (integer, required): Total number of annotations available
- `timeframe` (array of integer, minItems: 2, maxItems: 2): Start and end unix timestamps for the data range
