POST <kibana host>:<port>/s/<space_id>/api/saved_objects/_export

    Path parameters

    space_id

    (Optional, string) An identifier for the space. If space_id is not provided in the URL, the default space is used.

    (Optional, array|string) The saved object types to include in the export.

    (Optional, array) A list of objects to export.

    includeReferencesDeep

    (Optional, boolean) Includes all of the referenced objects in the exported objects.

    excludeExportDetails

    (Optional, boolean) Do not add export details entry at the end of the stream.

    You must include or objects in the request body.

    Response body

    When excludeExportDetails=false (the default) we append an export result details record at the end of the file after all the saved object records. The export result details object has the following format:

    200

    Indicates a successful call.

    Examples

    Export all index pattern saved objects:

    Export all index pattern saved objects and exclude the export summary from the stream:

    Export a specific saved object: