v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
saved objects

Export saved objects

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/saved_objects/_export</span></div>

Refer to Spaces for more information.

Retrieve sets of saved objects that you want to import into Kibana. You must include type or objects in the request body. The output of exporting saved objects must be treated as opaque. Tampering with exported data risks introducing unspecified errors and data loss.

Exported saved objects are not backwards compatible and cannot be imported into an older version of Kibana.

NOTE: The exported saved objects include coreMigrationVersion and typeMigrationVersion metadata. If you store exported saved objects outside of Kibana (for example in NDJSON files) or generate them yourself, you must preserve or include these fields to retain forward compatibility across Kibana versions.

NOTE: The savedObjects.maxImportExportSize configuration setting limits the number of saved objects which may be exported.

post/api/saved_objects/_export

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

excludeExportDetailsboolean

Do not add export details entry at the end of the stream.

includeReferencesDeepboolean

Includes all of the referenced objects in the exported objects.

searchstring

Search for documents to export using the Elasticsearch Simple Query String syntax.

Response

Indicates a successfull call.