+++
# -----------------------------------------------------------------------
# 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

<b>Signature</b>

```typescript
export interface AnnotationQueryRequest<MoreOptions = {}> 
```
<b>Import</b>

```typescript
import { AnnotationQueryRequest } from '@grafana/data';
```
<b>Properties</b>

|  Property | Type | Description |
|  --- | --- | --- |
|  [annotation](#annotation-property) | <code>{</code><br/><code>        datasource: string;</code><br/><code>        enable: boolean;</code><br/><code>        name: string;</code><br/><code>    } &amp; MoreOptions</code> |  |
|  [dashboard](#dashboard-property) | <code>any</code> |  |
|  [range](#range-property) | <code>TimeRange</code> |  |
|  [rangeRaw](#rangeraw-property) | <code>RawTimeRange</code> |  |

### annotation property

<b>Signature</b>

```typescript
annotation: {
        datasource: string;
        enable: boolean;
        name: string;
    } & MoreOptions;
```

### dashboard property

<b>Signature</b>

```typescript
dashboard: any;
```

### range property

<b>Signature</b>

```typescript
range: TimeRange;
```

### rangeRaw property

<b>Signature</b>

```typescript
rangeRaw: RawTimeRange;
```
