Export dashboard API

edit

Deprecated in 7.15.0.

Use the saved objects API instead.

Export dashboards and corresponding saved objects.

Request

edit

GET <kibana host>:<port>/api/kibana/dashboards/export

GET <kibana host>:<port>/s/<space-id>/api/kibana/dashboards/export

Query parameters

edit
dashboard
(Required, array|string) The IDs of the dashboards that you want to export. To export multiple dashboards, repeat the query parameter.

Response body

edit
objects
(array) A top level property that includes the saved objects. The order of the objects is not guaranteed. Use the exact response body as the request body for the corresponding Import dashboard API.

Response code

edit
200
Indicates a successful call.

Example

edit
$ curl -X GET api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c 

The dashboard ID is 942dcef0-b2cd-11e8-ad8e-85441f0c2e5c.