Skip to main content

Create a snapshot

POST 

/v1/grafana/api/snapshots/

Creates a snapshot. Snapshots are stored for 30 days and automatically deleted afterwards. Please ensure to change the region in the URL to match your account's region.

Request

Body

    dashboard object

    The complete dashboard model.

    name string

    Snapshot name.

    expires integer

    When the snapshot should expire in seconds. 3600 is 1 hour, 86400 is 1 day. Default is never to expire.

Responses

successful query

Schema
    deleteUrl string

    Delete url.

    key string

    Unique key.

    url string

    URL.

    id integer

    ID.

Loading...