Export dashboard APIedit

[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will apply best effort 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.

Requestedit

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

Query parametersedit

dashboard
(Required, array|string) The IDs of the dashboards that you want to export.

Response bodyedit

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 codeedit

200
Indicates a successful call.

Exampleedit

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

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