docs/extend/saved-objects/export.md
Kibana provides built‑in mechanisms to export and import Saved Objects as NDJSON documents. These mechanisms enable users and developers to move content between Kibana instances, promote content across environments (for example, development to production), and automate setup or backup of Kibana configuration.
Saved Objects can be imported and exported in two primary ways:
Both approaches rely on the same Saved Objects service and share the same data format, limits, and compatibility guarantees.
:::::{important}
When integrating with saved objects via the Saved Objects import/export APIs or the deprecated Saved Objects HTTP CRUD APIs, preserve coreMigrationVersion and typeMigrationVersion when persisting raw saved object documents outside of Kibana (for example, in JSON/NDJSON files). These fields are required to retain forwards compatibility across Kibana versions as saved object types evolve.
:::::
An export produces an NDJSON file where each line represents a single Saved Object document. Depending on the export options, the output can include:
Saved Object types can declare references to other objects. When exporting, Kibana can automatically include these referenced objects to ensure the exported content remains functional when imported elsewhere. For example, exporting a dashboard also exports its associated visualizations, data views, and other dependencies.
When importing Saved Objects:
If conflicts or missing references are detected, the import process surfaces detailed errors. When using the HTTP APIs, these errors can be handled programmatically to resolve conflicts or retry the import.
Saved Object import and export is forward‑compatible but not backward‑compatible:
This ensures that Saved Object migrations always run in a supported direction and prevents importing objects into Kibana versions that do not recognize newer schemas.
The Saved Objects management page in Stack Management provides a user interface for:
The UI is built on top of the same import and export APIs and is primarily intended for interactive administrative workflows.
Kibana exposes HTTP APIs for importing and exporting Saved Objects. These APIs are commonly used to:
The APIs support exporting by object type or explicit object selection, importing NDJSON payloads, and resolving conflicts. They are designed to remain stable and to avoid breaking changes where possible.