POST /api/ee/serialization/export
Changed onSerialize and retrieve Metabase instance.
Outputs .tar.gz file with serialization results and an export.log file. On error outputs serialization logs directly.
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Query parameters
name of directory and archive file (default: <instance-name>-<YYYY-MM-dd_HH-mm>): 1-255 characters from A-Z a-z 0-9 _ - . %, not starting with . or -
collections' db ids/entity-ids to serialize
Serialize all collections (true unless you specify collection)
Serialize Metabase settings
Serialize Metabase data model
Serialize cached field values
Do not break execution on errors
Show full stacktraces in the logs
Response
Successful response
Changes
- warning
deleted the
queryrequest parameterdatabase_secrets - info
the
queryrequest parameterall_collectionsbecame optional - info
the
queryrequest parametercontinue_on_errorbecame optional - info
the
queryrequest parameterdata_modelbecame optional - info
the
queryrequest parameterfield_valuesbecame optional - info
the
queryrequest parameterfull_stacktracebecame optional - info
the
queryrequest parametersettingsbecame optional
- warning
- info
api operation id
post-api-ee-serialization-exportwas added
- info