Skip to main content

Create annotations

POST 

/v1/grafana/api/annotations/

Creates an annotation in the Grafana database. Please ensure to change the region in the URL to match your account's region.

Request

Body

    dashboardId integer

    Id of the dashboard. The dashboardId and panelId fields are optional. If they are not specified then a global annotation is created and can be queried in any dashboard that adds the Grafana annotations data source.

    panelId integer

    Id of the panel. The dashboardId and panelId fields are optional. If they are not specified then a global annotation is created and can be queried in any dashboard that adds the Grafana annotations data source.

    time integer

    Epoch time in milliseconds.

    timeEnd integer

    Epoch time in milliseconds.

    tags string[]

    Annotation tags.

    text string

    Annotation Description.

Responses

successful query

Schema
    id integer

    ID.

    message string

    Confirmation message.

Loading...