+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "AnnotationQueryRequest"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## AnnotationQueryRequest interface
Options passed to the datasource.annotationQuery method. See docs/plugins/developing/datasource.md
Signature
```typescript
export interface AnnotationQueryRequest
```
Import
```typescript
import { AnnotationQueryRequest } from '@grafana/data';
```
Properties
| Property | Type | Description |
| --- | --- | --- |
| [annotation](#annotation-property) | {
datasource: string;
enable: boolean;
name: string;
} & MoreOptions
| |
| [dashboard](#dashboard-property) | any
| |
| [range](#range-property) | TimeRange
| |
| [rangeRaw](#rangeraw-property) | RawTimeRange
| |
### annotation property
Signature
```typescript
annotation: {
datasource: string;
enable: boolean;
name: string;
} & MoreOptions;
```
### dashboard property
Signature
```typescript
dashboard: any;
```
### range property
Signature
```typescript
range: TimeRange;
```
### rangeRaw property
Signature
```typescript
rangeRaw: RawTimeRange;
```