Export dashboard API

edit

[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. 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.