---
title: "Find Annotations."
method: GET
path: "/annotations"
tags: ["annotations"]
---

# Find Annotations.

`GET /annotations`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/annotations`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Starting in Grafana v6.4 regions annotations are now returned in one entity that now includes the timeEnd property.

## Query parameters

- `from` integer
- `to` integer
- `userId` integer
- `userUID` string
- `alertId` integer
- `alertUID` string
- `dashboardId` integer
- `dashboardUID` string
- `panelId` integer
- `limit` integer
- `tags` string[]
- `type` 'alert' | 'annotation'
- `matchAny` boolean

## Response `200`

(empty)

- Annotation[]
  - `alertId` integer
  - `alertName` string
  - `avatarUrl` string
  - `created` integer
  - `dashboardId` integer: Deprecated: Use DashboardUID and OrgID instead
  - `dashboardUID` string
  - `data` Json
  - `email` string
  - `id` integer
  - `login` string
  - `newState` string
  - `panelId` integer
  - `prevState` string
  - `tags` string[]
  - `text` string
  - `time` integer
  - `timeEnd` integer
  - `updated` integer
  - `userId` integer
  - `userUID` string

## Other responses

- `401`: UnauthorizedError is returned when the request is not authenticated.
- `500`: InternalServerError is a general error indicating something went wrong internally.

---

[API](https://skmtc.dev/grafana/apis/grafana-http-api.md) - [All operations](https://skmtc.dev/grafana/apis/grafana-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grafana/apis/grafana-http-api/revisions/df55ba1718ba?raw)
