Restores an archive produced by GET /api/v1/catalog/{name}/export as catalog name (the same or a new name, on the same or another install). A restore never merges: with mode=new (default) it is refused with 409 when catalog name already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With mode=overwrite (requires confirm equal to name) items already in name may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as POST /api/v1/pipeline saves them; tap scripts go to the install’s default script storage; taps are saved with enabled=false and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: missingSecrets lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a <name>: not checked, this key may not read secrets warning instead, whether or not the secret exists. Each tap’s incremental state is restored for taps that did not exist before, unless restoreState=false. An archive with no members creates the empty catalog. Not transactional: failed members are listed under failed (207). Requires pipeline:create. Every member is scope-checked before anything is written: tap:create / pipeline:create in the target catalog as the caller, and for an item that already exists (overwrite) also tap:update / pipeline:update against its current catalog and owner. A refused member is listed under failed and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination bearerToken/apiKey, restEndpoint row-function token parameters) are removed at export; the restore response’s warnings names each one to re-enter. Refused with 409 while an ordered enable of the catalog (POST /api/v1/catalog/{name}/enable-ordered) is running.
Optional API key for authentication (enabled via application.yaml)
Path Parameters
name
string
required
Target catalog name. Uncataloged (any case) is refused.
Pattern: ^[A-Za-z0-9_-]+$
Query Parameters
mode
enum<string>
default:new
Available options:
new,
overwrite
confirm
string
Required for mode=overwrite; must equal the catalog name.
restoreState
boolean
default:true
false skips every tap's incremental state (for a copy that should start from scratch).
regenerateScripts
boolean
default:false
By default each pipeline's archived AI scripts become its live scripts, with no model call. true regenerates them on this install instead. An archived script with no .json record, or whose record no longer matches the archived pipeline's instruction and source schema or this server's script contract, is regenerated either way (or, when the pipeline already has a live script that matches, kept); scriptsRegenerated and scriptsKept name each with the reason.
Body
multipart/form-data
file
file
required
The catalog archive (zip, at most 1000 entries and 50 MB uncompressed).
Response
Every member restored
restored
object
Show child attributes
skipped
string[]
Validation-schema objects that already existed on this install and were kept.
failed
object[]
Show child attributes
missingSecrets
object[]
Secrets the archive's items reference that do not exist on this install. Create them before enabling the items. Only secrets the key may read are checked; the others are named in warnings as not checked.
Show child attributes
warnings
string[]
sourceEnvironment
string
The DATRIS_ENV label of the install the archive was exported from. Absent when the exporting install had no label. Informational only; a cross-environment restore is never refused, but it adds a warning.
targetEnvironment
string
The DATRIS_ENV label of this install. Absent when unset.
tapsDisabled
boolean
Always true; restored taps are saved disabled.
stateRestored
boolean
True when at least one tap's incremental state was restored.
dependentTaps
integer
Restored taps whose dependencies (declared dependsOn, else inferred from the script) include another restored tap. Run those sources before testing these taps; see GET /api/v1/catalog/{name}/enable-order.
scriptsImported
string[]
AI scripts (<pipeline>/<kind>) restored as-is from the archive, with the archived fingerprint, model and generation time; no model call was made for them.
scriptsRegenerated
object[]
AI scripts that were not imported and were regenerated on this install (or are pending until the first run), each with the reason, for example no script record in the archive; re-export to carry it for an archive exported before script records were included, or regenerateScripts was requested.
Show child attributes
scriptsKept
object[]
AI scripts that were not imported but whose live script on this install already matched the pipeline's instruction and source schema, so it was left in place unchanged (no model call). The reason says why the archived script was not used.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Datris","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/datrisai/CNnWCgTgbz42nBnr/logo/datris-full-logo.png?fit=max\u0026auto=format\u0026n=CNnWCgTgbz42nBnr\u0026q=85\u0026s=f0e98fd8d344eb609f0b3883dfb274c9","dark":"https://mintcdn.com/datrisai/CNnWCgTgbz42nBnr/logo/datris-full-logo.png?fit=max\u0026auto=format\u0026n=CNnWCgTgbz42nBnr\u0026q=85\u0026s=f0e98fd8d344eb609f0b3883dfb274c9"},"favicon":"https://mintcdn.com/datrisai/Wy-t-WVKtfNZR2uU/favicon.svg?fit=max\u0026auto=format\u0026n=Wy-t-WVKtfNZR2uU\u0026q=85\u0026s=8e646366c64e42dc25798dc7be29431d","styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"datrisai","hasAudioNarration":false,"actualSubdomain":"datrisai","customDomains":["docs.datris.ai"],"gitSource":{"type":"github","owner":"datris","repo":"datris-platform-oss","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af7643412a58f12095c0e09","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":167},{"language":"default","tag":"Guides","count":70},{"language":"default","tag":"Taps","count":27},{"language":"default","tag":"Pipelines","count":27},{"language":"default","tag":"Destinations","count":18},{"language":"default","tag":"API Documentation","count":12},{"language":"default","tag":"Auth","count":10},{"language":"default","tag":"Metadata","count":10},{"language":"default","tag":"Configuration","count":8},{"language":"default","tag":"Versions","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/pipelines/restore-a-catalog-from-a-zip-backup","slug":"/api-reference/pipelines/restore-a-catalog-from-a-zip-backup","pageMetadata":{"title":"Restore a catalog from a zip backup","description":"Restores an archive produced by `GET /api/v1/catalog/{name}/export` as catalog `name` (the same or a new name, on the same or another install). A restore never merges: with `mode=new` (default) it is refused with 409 when catalog `name` already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With `mode=overwrite` (requires `confirm` equal to `name`) items already in `name` may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as `POST /api/v1/pipeline` saves them; tap scripts go to the install's default script storage; taps are saved with `enabled=false` and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: `missingSecrets` lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a `\u003cname>: not checked, this key may not read secrets` warning instead, whether or not the secret exists. Each tap's incremental state is restored for taps that did not exist before, unless `restoreState=false`. An archive with no members creates the empty catalog. Not transactional: failed members are listed under `failed` (207). Requires `pipeline:create`. Every member is scope-checked before anything is written: `tap:create` / `pipeline:create` in the target catalog as the caller, and for an item that already exists (overwrite) also `tap:update` / `pipeline:update` against its current catalog and owner. A refused member is listed under `failed` and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination `bearerToken`/`apiKey`, `restEndpoint` row-function token parameters) are removed at export; the restore response's `warnings` names each one to re-enter. Refused with 409 while an ordered enable of the catalog (`POST /api/v1/catalog/{name}/enable-ordered`) is running.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/catalog/{name}/restore","href":"/api-reference/pipelines/restore-a-catalog-from-a-zip-backup","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Restores an archive produced by \", _jsx(_components.code, {\n children: \"GET /api/v1/catalog/{name}/export\"\n }), \" as catalog \", _jsx(_components.code, {\n children: \"name\"\n }), \" (the same or a new name, on the same or another install). A restore never merges: with \", _jsx(_components.code, {\n children: \"mode=new\"\n }), \" (default) it is refused with 409 when catalog \", _jsx(_components.code, {\n children: \"name\"\n }), \" already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With \", _jsx(_components.code, {\n children: \"mode=overwrite\"\n }), \" (requires \", _jsx(_components.code, {\n children: \"confirm\"\n }), \" equal to \", _jsx(_components.code, {\n children: \"name\"\n }), \") items already in \", _jsx(_components.code, {\n children: \"name\"\n }), \" may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as \", _jsx(_components.code, {\n children: \"POST /api/v1/pipeline\"\n }), \" saves them; tap scripts go to the install’s default script storage; taps are saved with \", _jsx(_components.code, {\n children: \"enabled=false\"\n }), \" and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: \", _jsx(_components.code, {\n children: \"missingSecrets\"\n }), \" lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a \", _jsx(_components.code, {\n children: \"\u003cname>: not checked, this key may not read secrets\"\n }), \" warning instead, whether or not the secret exists. Each tap’s incremental state is restored for taps that did not exist before, unless \", _jsx(_components.code, {\n children: \"restoreState=false\"\n }), \". An archive with no members creates the empty catalog. Not transactional: failed members are listed under \", _jsx(_components.code, {\n children: \"failed\"\n }), \" (207). Requires \", _jsx(_components.code, {\n children: \"pipeline:create\"\n }), \". Every member is scope-checked before anything is written: \", _jsx(_components.code, {\n children: \"tap:create\"\n }), \" / \", _jsx(_components.code, {\n children: \"pipeline:create\"\n }), \" in the target catalog as the caller, and for an item that already exists (overwrite) also \", _jsx(_components.code, {\n children: \"tap:update\"\n }), \" / \", _jsx(_components.code, {\n children: \"pipeline:update\"\n }), \" against its current catalog and owner. A refused member is listed under \", _jsx(_components.code, {\n children: \"failed\"\n }), \" and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination \", _jsx(_components.code, {\n children: \"bearerToken\"\n }), \"/\", _jsx(_components.code, {\n children: \"apiKey\"\n }), \", \", _jsx(_components.code, {\n children: \"restEndpoint\"\n }), \" row-function token parameters) are removed at export; the restore response’s \", _jsx(_components.code, {\n children: \"warnings\"\n }), \" names each one to re-enter. Refused with 409 while an ordered enable of the catalog (\", _jsx(_components.code, {\n children: \"POST /api/v1/catalog/{name}/enable-ordered\"\n }), \") is running.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Restore a catalog from a zip backup","description":"Restores an archive produced by `GET /api/v1/catalog/{name}/export` as catalog `name` (the same or a new name, on the same or another install). A restore never merges: with `mode=new` (default) it is refused with 409 when catalog `name` already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With `mode=overwrite` (requires `confirm` equal to `name`) items already in `name` may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as `POST /api/v1/pipeline` saves them; tap scripts go to the install's default script storage; taps are saved with `enabled=false` and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: `missingSecrets` lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a `\u003cname>: not checked, this key may not read secrets` warning instead, whether or not the secret exists. Each tap's incremental state is restored for taps that did not exist before, unless `restoreState=false`. An archive with no members creates the empty catalog. Not transactional: failed members are listed under `failed` (207). Requires `pipeline:create`. Every member is scope-checked before anything is written: `tap:create` / `pipeline:create` in the target catalog as the caller, and for an item that already exists (overwrite) also `tap:update` / `pipeline:update` against its current catalog and owner. A refused member is listed under `failed` and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination `bearerToken`/`apiKey`, `restEndpoint` row-function token parameters) are removed at export; the restore response's `warnings` names each one to re-enter. Refused with 409 while an ordered enable of the catalog (`POST /api/v1/catalog/{name}/enable-ordered`) is running.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/catalog/{name}/restore","href":"/api-reference/pipelines/restore-a-catalog-from-a-zip-backup","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Pipelines"],"summary":"Restore a catalog from a zip backup","description":"Restores an archive produced by `GET /api/v1/catalog/{name}/export` as catalog `name` (the same or a new name, on the same or another install). A restore never merges: with `mode=new` (default) it is refused with 409 when catalog `name` already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With `mode=overwrite` (requires `confirm` equal to `name`) items already in `name` may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as `POST /api/v1/pipeline` saves them; tap scripts go to the install's default script storage; taps are saved with `enabled=false` and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: `missingSecrets` lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a `\u003cname>: not checked, this key may not read secrets` warning instead, whether or not the secret exists. Each tap's incremental state is restored for taps that did not exist before, unless `restoreState=false`. An archive with no members creates the empty catalog. Not transactional: failed members are listed under `failed` (207). Requires `pipeline:create`. Every member is scope-checked before anything is written: `tap:create` / `pipeline:create` in the target catalog as the caller, and for an item that already exists (overwrite) also `tap:update` / `pipeline:update` against its current catalog and owner. A refused member is listed under `failed` and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination `bearerToken`/`apiKey`, `restEndpoint` row-function token parameters) are removed at export; the restore response's `warnings` names each one to re-enter. Refused with 409 while an ordered enable of the catalog (`POST /api/v1/catalog/{name}/enable-ordered`) is running.\n","parameters":["2ef7a646-d7dc-4bb9-907a-c10ff7ec378f","9579fafb-5b02-453d-89d2-5e6ef4a78dbc","7958fd97-6480-4984-823a-787c3ddce64c","4bc1c5f0-dbff-4b9a-aff3-0dcd5e376de0","6135d39e-126d-4c87-b0b1-f1b3bfa2994e"],"requestBody":"ceb74ded-c2a9-4d15-8284-ae0e801b0dd1","responses":{"200":"5ae44e94-52f8-4931-9a72-e285a80b40bb","207":"51db3bf0-f5ea-4a2b-84bc-11a2ec80bff5","400":"afac40f1-ee8d-493d-abd5-4218be6d0fa7","409":"d0b6f002-d983-4e61-a241-3825e7fd2273","500":"85940a7f-a41d-4887-ad89-cdd81e3346d5"},"method":"post","type":"path","servers":["435309d3-70b4-484e-b2e6-d59849cb452e"],"security":["993ce07e-4ae7-43ae-97fb-87155c0ca6f0"],"path":"/api/v1/catalog/{name}/restore","baseUrlOptions":["http://localhost:8080"],"title":"Restore a catalog from a zip backup","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2ef7a646-d7dc-4bb9-907a-c10ff7ec378f":{"name":"name","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","isRequired":true,"description":"Target catalog name. `Uncataloged` (any case) is refused.","uniqueKey":"","typeLabel":"string"},"description":"Target catalog name. `Uncataloged` (any case) is refused."},"9579fafb-5b02-453d-89d2-5e6ef4a78dbc":{"name":"mode","in":"query","required":false,"schema":{"type":"string","enum":["new","overwrite"],"default":"new","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"7958fd97-6480-4984-823a-787c3ddce64c":{"name":"confirm","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"Required for `mode=overwrite`; must equal the catalog name.","uniqueKey":"","typeLabel":"string"},"description":"Required for `mode=overwrite`; must equal the catalog name."},"4bc1c5f0-dbff-4b9a-aff3-0dcd5e376de0":{"name":"restoreState","in":"query","required":false,"schema":{"type":"boolean","default":true,"isRequired":false,"description":"`false` skips every tap's incremental state (for a copy that should start from scratch).","uniqueKey":"","typeLabel":"boolean"},"description":"`false` skips every tap's incremental state (for a copy that should start from scratch)."},"6135d39e-126d-4c87-b0b1-f1b3bfa2994e":{"name":"regenerateScripts","in":"query","required":false,"schema":{"type":"boolean","default":false,"isRequired":false,"description":"By default each pipeline's archived AI scripts become its live scripts, with no model call. `true` regenerates them on this install instead. An archived script with no `.json` record, or whose record no longer matches the archived pipeline's instruction and source schema or this server's script contract, is regenerated either way (or, when the pipeline already has a live script that matches, kept); `scriptsRegenerated` and `scriptsKept` name each with the reason.","uniqueKey":"","typeLabel":"boolean"},"description":"By default each pipeline's archived AI scripts become its live scripts, with no model call. `true` regenerates them on this install instead. An archived script with no `.json` record, or whose record no longer matches the archived pipeline's instruction and source schema or this server's script contract, is regenerated either way (or, when the pipeline already has a live script that matches, kept); `scriptsRegenerated` and `scriptsKept` name each with the reason."}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"The catalog archive (zip, at most 1000 entries and 50 MB uncompressed).","isRequired":true,"uniqueKey":"file","typeLabel":"file"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"file":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5ae44e94-52f8-4931-9a72-e285a80b40bb":{"description":"Every member restored","content":{"application/json":{"schema":{"type":"object","properties":{"restored":{"type":"object","properties":{"taps":{"type":"array","items":{"type":"string","uniqueKey":"restored.taps.items.[INDEX]","typeLabel":"string"},"uniqueKey":"restored.taps","typeLabel":"string[]"},"pipelines":{"type":"array","items":{"type":"string","uniqueKey":"restored.pipelines.items.[INDEX]","typeLabel":"string"},"uniqueKey":"restored.pipelines","typeLabel":"string[]"}},"uniqueKey":"restored","typeLabel":"object"},"skipped":{"type":"array","description":"Validation-schema objects that already existed on this install and were kept.","items":{"type":"string","uniqueKey":"skipped.items.[INDEX]","typeLabel":"string"},"uniqueKey":"skipped","typeLabel":"string[]"},"failed":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Member (or `__catalog__` placeholder) name","uniqueKey":"failed.items.[INDEX].name","typeLabel":"string"},"error":{"type":"string","uniqueKey":"failed.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"failed.items.[INDEX]","typeLabel":"object"},"uniqueKey":"failed","typeLabel":"object[]"},"missingSecrets":{"type":"array","description":"Secrets the archive's items reference that do not exist on this install. Create them before enabling the items. Only secrets the key may read are checked; the others are named in `warnings` as not checked.","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"missingSecrets.items.[INDEX].name","typeLabel":"string"},"usedBy":{"type":"array","items":{"type":"string","uniqueKey":"missingSecrets.items.[INDEX].usedBy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"missingSecrets.items.[INDEX].usedBy","typeLabel":"string[]"}},"uniqueKey":"missingSecrets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"missingSecrets","typeLabel":"object[]"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"warnings.items.[INDEX]","typeLabel":"string"},"uniqueKey":"warnings","typeLabel":"string[]"},"sourceEnvironment":{"type":"string","description":"The `DATRIS_ENV` label of the install the archive was exported from. Absent when the exporting install had no label. Informational only; a cross-environment restore is never refused, but it adds a warning.","uniqueKey":"sourceEnvironment","typeLabel":"string"},"targetEnvironment":{"type":"string","description":"The `DATRIS_ENV` label of this install. Absent when unset.","uniqueKey":"targetEnvironment","typeLabel":"string"},"tapsDisabled":{"type":"boolean","description":"Always true; restored taps are saved disabled.","uniqueKey":"tapsDisabled","typeLabel":"boolean"},"stateRestored":{"type":"boolean","description":"True when at least one tap's incremental state was restored.","uniqueKey":"stateRestored","typeLabel":"boolean"},"dependentTaps":{"type":"integer","description":"Restored taps whose dependencies (declared `dependsOn`, else inferred from the script) include another restored tap. Run those sources before testing these taps; see `GET /api/v1/catalog/{name}/enable-order`.","uniqueKey":"dependentTaps","typeLabel":"integer"},"scriptsImported":{"type":"array","description":"AI scripts (`\u003cpipeline>/\u003ckind>`) restored as-is from the archive, with the archived fingerprint, model and generation time; no model call was made for them.","items":{"type":"string","uniqueKey":"scriptsImported.items.[INDEX]","typeLabel":"string"},"uniqueKey":"scriptsImported","typeLabel":"string[]"},"scriptsRegenerated":{"type":"array","description":"AI scripts that were not imported and were regenerated on this install (or are pending until the first run), each with the reason, for example `no script record in the archive; re-export to carry it` for an archive exported before script records were included, or `regenerateScripts was requested`.","items":{"type":"object","properties":{"item":{"type":"string","description":"`\u003cpipeline>/\u003ckind>`","uniqueKey":"scriptsRegenerated.items.[INDEX].item","typeLabel":"string"},"reason":{"type":"string","uniqueKey":"scriptsRegenerated.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"scriptsRegenerated.items.[INDEX]","typeLabel":"object"},"uniqueKey":"scriptsRegenerated","typeLabel":"object[]"},"scriptsKept":{"type":"array","description":"AI scripts that were not imported but whose live script on this install already matched the pipeline's instruction and source schema, so it was left in place unchanged (no model call). The reason says why the archived script was not used.","items":{"type":"object","properties":{"item":{"type":"string","description":"`\u003cpipeline>/\u003ckind>`","uniqueKey":"scriptsKept.items.[INDEX].item","typeLabel":"string"},"reason":{"type":"string","uniqueKey":"scriptsKept.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"scriptsKept.items.[INDEX]","typeLabel":"object"},"uniqueKey":"scriptsKept","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"restored":{"taps":["\u003cstring>"],"pipelines":["\u003cstring>"]},"skipped":["\u003cstring>"],"failed":[{"name":"\u003cstring>","error":"\u003cstring>"}],"missingSecrets":[{"name":"\u003cstring>","usedBy":["\u003cstring>"]}],"warnings":["\u003cstring>"],"sourceEnvironment":"\u003cstring>","targetEnvironment":"\u003cstring>","tapsDisabled":true,"stateRestored":true,"dependentTaps":123,"scriptsImported":["\u003cstring>"],"scriptsRegenerated":[{"item":"\u003cstring>","reason":"\u003cstring>"}],"scriptsKept":[{"item":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"51db3bf0-f5ea-4a2b-84bc-11a2ec80bff5":{"description":"Some members could not be restored; see `failed`","content":{"application/json":{"schema":{"type":"object","properties":{"restored":{"type":"object","properties":{"taps":{"type":"array","items":{"type":"string","uniqueKey":"restored.taps.items.[INDEX]","typeLabel":"string"},"uniqueKey":"restored.taps","typeLabel":"string[]"},"pipelines":{"type":"array","items":{"type":"string","uniqueKey":"restored.pipelines.items.[INDEX]","typeLabel":"string"},"uniqueKey":"restored.pipelines","typeLabel":"string[]"}},"uniqueKey":"restored","typeLabel":"object"},"skipped":{"type":"array","description":"Validation-schema objects that already existed on this install and were kept.","items":{"type":"string","uniqueKey":"skipped.items.[INDEX]","typeLabel":"string"},"uniqueKey":"skipped","typeLabel":"string[]"},"failed":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Member (or `__catalog__` placeholder) name","uniqueKey":"failed.items.[INDEX].name","typeLabel":"string"},"error":{"type":"string","uniqueKey":"failed.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"failed.items.[INDEX]","typeLabel":"object"},"uniqueKey":"failed","typeLabel":"object[]"},"missingSecrets":{"type":"array","description":"Secrets the archive's items reference that do not exist on this install. Create them before enabling the items. Only secrets the key may read are checked; the others are named in `warnings` as not checked.","items":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"missingSecrets.items.[INDEX].name","typeLabel":"string"},"usedBy":{"type":"array","items":{"type":"string","uniqueKey":"missingSecrets.items.[INDEX].usedBy.items.[INDEX]","typeLabel":"string"},"uniqueKey":"missingSecrets.items.[INDEX].usedBy","typeLabel":"string[]"}},"uniqueKey":"missingSecrets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"missingSecrets","typeLabel":"object[]"},"warnings":{"type":"array","items":{"type":"string","uniqueKey":"warnings.items.[INDEX]","typeLabel":"string"},"uniqueKey":"warnings","typeLabel":"string[]"},"sourceEnvironment":{"type":"string","description":"The `DATRIS_ENV` label of the install the archive was exported from. Absent when the exporting install had no label. Informational only; a cross-environment restore is never refused, but it adds a warning.","uniqueKey":"sourceEnvironment","typeLabel":"string"},"targetEnvironment":{"type":"string","description":"The `DATRIS_ENV` label of this install. Absent when unset.","uniqueKey":"targetEnvironment","typeLabel":"string"},"tapsDisabled":{"type":"boolean","description":"Always true; restored taps are saved disabled.","uniqueKey":"tapsDisabled","typeLabel":"boolean"},"stateRestored":{"type":"boolean","description":"True when at least one tap's incremental state was restored.","uniqueKey":"stateRestored","typeLabel":"boolean"},"dependentTaps":{"type":"integer","description":"Restored taps whose dependencies (declared `dependsOn`, else inferred from the script) include another restored tap. Run those sources before testing these taps; see `GET /api/v1/catalog/{name}/enable-order`.","uniqueKey":"dependentTaps","typeLabel":"integer"},"scriptsImported":{"type":"array","description":"AI scripts (`\u003cpipeline>/\u003ckind>`) restored as-is from the archive, with the archived fingerprint, model and generation time; no model call was made for them.","items":{"type":"string","uniqueKey":"scriptsImported.items.[INDEX]","typeLabel":"string"},"uniqueKey":"scriptsImported","typeLabel":"string[]"},"scriptsRegenerated":{"type":"array","description":"AI scripts that were not imported and were regenerated on this install (or are pending until the first run), each with the reason, for example `no script record in the archive; re-export to carry it` for an archive exported before script records were included, or `regenerateScripts was requested`.","items":{"type":"object","properties":{"item":{"type":"string","description":"`\u003cpipeline>/\u003ckind>`","uniqueKey":"scriptsRegenerated.items.[INDEX].item","typeLabel":"string"},"reason":{"type":"string","uniqueKey":"scriptsRegenerated.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"scriptsRegenerated.items.[INDEX]","typeLabel":"object"},"uniqueKey":"scriptsRegenerated","typeLabel":"object[]"},"scriptsKept":{"type":"array","description":"AI scripts that were not imported but whose live script on this install already matched the pipeline's instruction and source schema, so it was left in place unchanged (no model call). The reason says why the archived script was not used.","items":{"type":"object","properties":{"item":{"type":"string","description":"`\u003cpipeline>/\u003ckind>`","uniqueKey":"scriptsKept.items.[INDEX].item","typeLabel":"string"},"reason":{"type":"string","uniqueKey":"scriptsKept.items.[INDEX].reason","typeLabel":"string"}},"uniqueKey":"scriptsKept.items.[INDEX]","typeLabel":"object"},"uniqueKey":"scriptsKept","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"restored":{"taps":["\u003cstring>"],"pipelines":["\u003cstring>"]},"skipped":["\u003cstring>"],"failed":[{"name":"\u003cstring>","error":"\u003cstring>"}],"missingSecrets":[{"name":"\u003cstring>","usedBy":["\u003cstring>"]}],"warnings":["\u003cstring>"],"sourceEnvironment":"\u003cstring>","targetEnvironment":"\u003cstring>","tapsDisabled":true,"stateRestored":true,"dependentTaps":123,"scriptsImported":["\u003cstring>"],"scriptsRegenerated":[{"item":"\u003cstring>","reason":"\u003cstring>"}],"scriptsKept":[{"item":"\u003cstring>","reason":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"afac40f1-ee8d-493d-abd5-4218be6d0fa7":{"description":"Reserved or invalid catalog name, unknown mode, overwrite without a matching `confirm`, missing file, or an invalid archive (not a zip, unsafe entry path, too large, missing or unsupported `formatVersion`)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"d0b6f002-d983-4e61-a241-3825e7fd2273":{"description":"The catalog or an archived name already exists","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"clashes":{"type":"array","items":{"type":"string","uniqueKey":"clashes.items.[INDEX]","typeLabel":"string"},"uniqueKey":"clashes","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","clashes":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"85940a7f-a41d-4887-ad89-cdd81e3346d5":{"description":"Error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"993ce07e-4ae7-43ae-97fb-87155c0ca6f0":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Optional API key for authentication (enabled via application.yaml)","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"435309d3-70b4-484e-b2e6-d59849cb452e":{"url":"http://localhost:8080","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Optional API key for authentication (enabled via application.yaml)","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Optional API key for authentication (enabled via application.yaml)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"datrisai","siteName":"Datris","title":"Restore a catalog from a zip backup - Datris","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T19:19:51.949Z","originalFileLocation":"api-reference/pipelines/restore-a-catalog-from-a-zip-backup.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Restores an archive produced by GET /api/v1/catalog/{name}/export as catalog name (the same or a new name, on the same or another install). A restore never merges: with mode=new (default) it is refused with 409 when catalog name already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With mode=overwrite (requires confirm equal to name) items already in name may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as POST /api/v1/pipeline saves them; tap scripts go to the install\u0026#x27;s default script storage; taps are saved with enabled=false and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: missingSecrets lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a : not checked, this key may not read secrets warning instead, whether or not the secret exists. Each tap\u0026#x27;s incremental state is restored for taps that did not exist before, unless restoreState=false. An archive with no members creates the empty catalog. Not transactional: failed members are listed under failed (207). Requires pipeline:create. Every member is scope-checked before anything is written: tap:create / pipeline:create in the target catalog as the caller, and for an item that already exists (overwrite) also tap:update / pipeline:update against its current catalog and owner. A refused member is listed under failed and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination bearerToken/apiKey, restEndpoint row-function token parameters) are removed at export; the restore response\u0026#x27;s warnings names each one to re-enter. Refused with 409 while an ordered enable of the catalog (POST /api/v1/catalog/{name}/enable-ordered) is running.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Datris\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Restore a catalog from a zip backup - Datris\">\u003cmeta data-mint-head property=\"og:description\" content=\"Restores an archive produced by GET /api/v1/catalog/{name}/export as catalog name (the same or a new name, on the same or another install). A restore never merges: with mode=new (default) it is refused with 409 when catalog name already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With mode=overwrite (requires confirm equal to name) items already in name may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as POST /api/v1/pipeline saves them; tap scripts go to the install\u0026#x27;s default script storage; taps are saved with enabled=false and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: missingSecrets lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a : not checked, this key may not read secrets warning instead, whether or not the secret exists. Each tap\u0026#x27;s incremental state is restored for taps that did not exist before, unless restoreState=false. An archive with no members creates the empty catalog. Not transactional: failed members are listed under failed (207). Requires pipeline:create. Every member is scope-checked before anything is written: tap:create / pipeline:create in the target catalog as the caller, and for an item that already exists (overwrite) also tap:update / pipeline:update against its current catalog and owner. A refused member is listed under failed and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination bearerToken/apiKey, restEndpoint row-function token parameters) are removed at export; the restore response\u0026#x27;s warnings names each one to re-enter. Refused with 409 while an ordered enable of the catalog (POST /api/v1/catalog/{name}/enable-ordered) is running.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Datris\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://datrisai.mintlify.site/_mintlify/api/og/v2?division=Pipelines\u0026amp;title=Restore+a+catalog+from+a+zip+backup\u0026amp;description=Restores+an+archive+produced+by+%60GET+%2Fapi%2Fv1%2Fcatalog%2F%7Bname%7D%2Fexport%60+as+catalog+%60name%60+%28the+same+or+a+new+name%2C+on+the+same+or+another+install%29.+A+restore+never+\u0026amp;theme=174acba7cc5d3871291656ea\u0026amp;signature=7acfee78b05d28c44a5ed3e06d5d35feccc4f11da24d4f707e52cfb735d85692\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Restore a catalog from a zip backup - Datris\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Restores an archive produced by GET /api/v1/catalog/{name}/export as catalog name (the same or a new name, on the same or another install). A restore never merges: with mode=new (default) it is refused with 409 when catalog name already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With mode=overwrite (requires confirm equal to name) items already in name may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as POST /api/v1/pipeline saves them; tap scripts go to the install\u0026#x27;s default script storage; taps are saved with enabled=false and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: missingSecrets lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a : not checked, this key may not read secrets warning instead, whether or not the secret exists. Each tap\u0026#x27;s incremental state is restored for taps that did not exist before, unless restoreState=false. An archive with no members creates the empty catalog. Not transactional: failed members are listed under failed (207). Requires pipeline:create. Every member is scope-checked before anything is written: tap:create / pipeline:create in the target catalog as the caller, and for an item that already exists (overwrite) also tap:update / pipeline:update against its current catalog and owner. A refused member is listed under failed and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination bearerToken/apiKey, restEndpoint row-function token parameters) are removed at export; the restore response\u0026#x27;s warnings names each one to re-enter. Refused with 409 while an ordered enable of the catalog (POST /api/v1/catalog/{name}/enable-ordered) is running.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://datrisai.mintlify.site/_mintlify/api/og/v2?division=Pipelines\u0026amp;title=Restore+a+catalog+from+a+zip+backup\u0026amp;description=Restores+an+archive+produced+by+%60GET+%2Fapi%2Fv1%2Fcatalog%2F%7Bname%7D%2Fexport%60+as+catalog+%60name%60+%28the+same+or+a+new+name%2C+on+the+same+or+another+install%29.+A+restore+never+\u0026amp;theme=174acba7cc5d3871291656ea\u0026amp;signature=7acfee78b05d28c44a5ed3e06d5d35feccc4f11da24d4f707e52cfb735d85692\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/datrisai/Ct9Fhmh_y5jENZKB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Datris\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/pipelines/restore-a-catalog-from-a-zip-backup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.datris.ai/#organization\",\"name\":\"Datris\",\"url\":\"https://docs.datris.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/datrisai/CNnWCgTgbz42nBnr/logo/datris-full-logo.png?fit=max\u0026auto=format\u0026n=CNnWCgTgbz42nBnr\u0026q=85\u0026s=f0e98fd8d344eb609f0b3883dfb274c9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.datris.ai#website\",\"name\":\"Datris\",\"url\":\"https://docs.datris.ai\",\"publisher\":{\"@id\":\"https://docs.datris.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup#webpage\",\"url\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup\",\"name\":\"Restore a catalog from a zip backup\",\"description\":\"Restores an archive produced by GET /api/v1/catalog/{name}/export as catalog name (the same or a new name, on the same or another install). A restore never merges: with mode=new (default) it is refused with 409 when catalog name already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With mode=overwrite (requires confirm equal to name) items already in name may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as POST /api/v1/pipeline saves them; tap scripts go to the install's default script storage; taps are saved with enabled=false and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: missingSecrets lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a : not checked, this key may not read secrets warning instead, whether or not the secret exists. Each tap's incremental state is restored for taps that did not exist before, unless restoreState=false. An archive with no members creates the empty catalog. Not transactional: failed members are listed under failed (207). Requires pipeline:create. Every member is scope-checked before anything is written: tap:create / pipeline:create in the target catalog as the caller, and for an item that already exists (overwrite) also tap:update / pipeline:update against its current catalog and owner. A refused member is listed under failed and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination bearerToken/apiKey, restEndpoint row-function token parameters) are removed at export; the restore response's warnings names each one to re-enter. Refused with 409 while an ordered enable of the catalog (POST /api/v1/catalog/{name}/enable-ordered) is running.\",\"dateModified\":\"2026-11-13T19:19:51.949Z\",\"isPartOf\":{\"@id\":\"https://docs.datris.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Pipelines\",\"item\":\"https://docs.datris.ai/api-reference/pipelines/get-a-pipeline-configuration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Restore a catalog from a zip backup\",\"item\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup#apireference\",\"headline\":\"Restore a catalog from a zip backup\",\"name\":\"Restore a catalog from a zip backup\",\"description\":\"Restores an archive produced by GET /api/v1/catalog/{name}/export as catalog name (the same or a new name, on the same or another install). A restore never merges: with mode=new (default) it is refused with 409 when catalog name already exists or any archived tap or pipeline name exists anywhere on the install (any catalog, either type), and nothing is written. With mode=overwrite (requires confirm equal to name) items already in name may be replaced; a name in another catalog is still a 409. When tap scripts are stored in a code repository, a script file already at branch head with different content is also a clash; identical content is reused without a new commit. Pipelines are saved exactly as POST /api/v1/pipeline saves them; tap scripts go to the install's default script storage; taps are saved with enabled=false and their run status cleared, so nothing runs until a user tests and enables them. Secrets are never written: missingSecrets lists the secrets the archived items reference that are absent on this install. Secrets are only checked where the key may read them: a key without secret read access gets a : not checked, this key may not read secrets warning instead, whether or not the secret exists. Each tap's incremental state is restored for taps that did not exist before, unless restoreState=false. An archive with no members creates the empty catalog. Not transactional: failed members are listed under failed (207). Requires pipeline:create. Every member is scope-checked before anything is written: tap:create / pipeline:create in the target catalog as the caller, and for an item that already exists (overwrite) also tap:update / pipeline:update against its current catalog and owner. A refused member is listed under failed and nothing of it, including its validation schema, is written. Inline credentials (preprocessor and REST destination bearerToken/apiKey, restEndpoint row-function token parameters) are removed at export; the restore response's warnings names each one to re-enter. Refused with 409 while an ordered enable of the catalog (POST /api/v1/catalog/{name}/enable-ordered) is running.\",\"url\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.datris.ai/api-reference/pipelines/restore-a-catalog-from-a-zip-backup#webpage\"},\"dateModified\":\"2026-11-13T19:19:51.949Z\",\"publisher\":{\"@id\":\"https://docs.datris.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.datris.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Datris\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Datris\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/pipelines/restore-a-catalog-from-a-zip-backup.md","siteName":"Datris","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"MCP Reference","pages":[{"title":"MCP Reference","href":"/install-for-agents"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Data Ingestion API","href":"/api-reference/ingestion-api"},{"title":"Query API","href":"/api-reference/query-api"},{"title":"Pipeline Configuration API","href":"/api-reference/pipeline-api"},{"title":"Search API","href":"/api-reference/search-api"},{"title":"Metadata API","href":"/api-reference/metadata-api"},{"title":"AI Schema Generation API","href":"/api-reference/schema-generation-api"},{"title":"Configuration API","href":"/api-reference/config-api"},{"title":"Secrets API","href":"/api-reference/secrets-api"},{"title":"Pipeline Status API","href":"/api-reference/status-api"},{"title":"Health Check API","href":"/api-reference/health-api"},{"title":"Version API","href":"/api-reference/version-api"},{"title":"Taps API","href":"/api-reference/taps-api"}]},{"group":"Pipelines","pages":[{"title":"Get a pipeline configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipeline","href":"/api-reference/pipelines/get-a-pipeline-configuration"},{"title":"Create or update a pipeline configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline","href":"/api-reference/pipelines/create-or-update-a-pipeline-configuration"},{"title":"Delete a pipeline configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/pipeline","href":"/api-reference/pipelines/delete-a-pipeline-configuration"},{"title":"Rename a catalog","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/v1/catalog/{name}","href":"/api-reference/pipelines/rename-a-catalog"},{"title":"Delete a catalog (detach or cascade)","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/catalog/{name}","href":"/api-reference/pipelines/delete-a-catalog-detach-or-cascade"},{"title":"Export a catalog as a zip backup","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/catalog/{name}/export","href":"/api-reference/pipelines/export-a-catalog-as-a-zip-backup"},{"title":"Enable order of a catalog's taps","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/catalog/{name}/enable-order","href":"/api-reference/pipelines/enable-order-of-a-catalogs-taps"},{"title":"Progress of a catalog's ordered enable","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/catalog/{name}/enable-ordered","href":"/api-reference/pipelines/progress-of-a-catalogs-ordered-enable"},{"title":"Enable a catalog's taps in dependency order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/catalog/{name}/enable-ordered","href":"/api-reference/pipelines/enable-a-catalogs-taps-in-dependency-order"},{"title":"Cancel a catalog's ordered enable","description":"The test, run or load wait in progress finishes (a running tap script is not killed); every tap not yet started is marked `cancelled` (a tap already enabled whose run had not started reads `enabled; run cancelled`). Requires `tap:run`, checked against the key's catalog scope and the job starter as owner; 403 otherwise.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/catalog/{name}/enable-ordered","href":"/api-reference/pipelines/cancel-a-catalogs-ordered-enable"},{"title":"Restore a catalog from a zip backup","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/catalog/{name}/restore","href":"/api-reference/pipelines/restore-a-catalog-from-a-zip-backup"},{"title":"List all pipeline configurations","description":null,"deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipelines","href":"/api-reference/pipelines/list-all-pipeline-configurations"},{"title":"Unity Catalog sync state for a pipeline","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipelines/{name}/unity-catalog","href":"/api-reference/pipelines/unity-catalog-sync-state-for-a-pipeline"},{"title":"Stored CodeGen scripts for a pipeline","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipelines/{name}/codegen-scripts","href":"/api-reference/pipelines/stored-codegen-scripts-for-a-pipeline"},{"title":"Force a new CodeGen script","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipelines/{name}/codegen-scripts/{kind}/regenerate","href":"/api-reference/pipelines/force-a-new-codegen-script"},{"title":"Adopt a CodeGen script edited in the code repository","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipelines/{name}/codegen-scripts/{kind}/pull","href":"/api-reference/pipelines/adopt-a-codegen-script-edited-in-the-code-repository"},{"title":"Version history of a CodeGen script","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipelines/{name}/codegen-scripts/{kind}/versions","href":"/api-reference/pipelines/version-history-of-a-codegen-script"},{"title":"One version of a CodeGen script, with its text","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipelines/{name}/codegen-scripts/{kind}/versions/{version}","href":"/api-reference/pipelines/one-version-of-a-codegen-script-with-its-text"},{"title":"Line diff of two CodeGen script versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipelines/{name}/codegen-scripts/{kind}/versions/{version}/diff","href":"/api-reference/pipelines/line-diff-of-two-codegen-script-versions"},{"title":"Restore a CodeGen script version","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipelines/{name}/codegen-scripts/{kind}/versions/{version}/restore","href":"/api-reference/pipelines/restore-a-codegen-script-version"},{"title":"Propose destination column types from preview rows","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/propose-schema","href":"/api-reference/pipelines/propose-destination-column-types-from-preview-rows"},{"title":"Propose destination column types from landed data","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipeline/dest-types","href":"/api-reference/pipelines/propose-destination-column-types-from-landed-data"},{"title":"Apply destination column types","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/dest-types","href":"/api-reference/pipelines/apply-destination-column-types"},{"title":"Suggest field protection from field names and types","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/protect/suggest","href":"/api-reference/pipelines/suggest-field-protection-from-field-names-and-types"},{"title":"Propose field protection from a preset (HIPAA Safe Harbor)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/protect/preset","href":"/api-reference/pipelines/propose-field-protection-from-a-preset-hipaa-safe-harbor"},{"title":"Reveal values of an encrypt-protected field","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/protect/reveal","href":"/api-reference/pipelines/reveal-values-of-an-encrypt-protected-field"},{"title":"Rotate the field protection encryption key","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/protect/keys/rotate","href":"/api-reference/pipelines/rotate-the-field-protection-encryption-key"}]},{"group":"Ingestion","pages":[{"title":"Upload a file for processing","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/upload","href":"/api-reference/ingestion/upload-a-file-for-processing"}]},{"group":"AI","pages":[{"title":"AI schema generation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/generate","href":"/api-reference/ai/ai-schema-generation"},{"title":"AI data profiling","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/profile","href":"/api-reference/ai/ai-data-profiling"},{"title":"AI-powered question answering","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/ai/answer","href":"/api-reference/ai/ai-powered-question-answering"},{"title":"Get the AI model catalog","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/ai/model-catalog","href":"/api-reference/ai/get-the-ai-model-catalog"},{"title":"Discover invokable models for a provider","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/ai/models","href":"/api-reference/ai/discover-invokable-models-for-a-provider"}]},{"group":"Status","pages":[{"title":"Get job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipeline/status","href":"/api-reference/status/get-job-status"},{"title":"Clear all ingestion history","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/pipeline/status","href":"/api-reference/status/clear-all-ingestion-history"},{"title":"Get a Live Read (scratch) pipeline's result","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipeline/result","href":"/api-reference/status/get-a-live-read-scratch-pipelines-result"},{"title":"Kill a running job","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/job/kill","href":"/api-reference/status/kill-a-running-job"},{"title":"Get server version","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/version","href":"/api-reference/status/get-server-version"}]},{"group":"Query","pages":[{"title":"Query PostgreSQL","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/query/postgres","href":"/api-reference/query/query-postgresql"},{"title":"Query MongoDB","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/query/mongodb","href":"/api-reference/query/query-mongodb"},{"title":"Query object store","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/query/objectstore","href":"/api-reference/query/query-object-store"},{"title":"Query Snowflake","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/query/snowflake","href":"/api-reference/query/query-snowflake"},{"title":"Query SQL Server","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/query/sqlserver","href":"/api-reference/query/query-sql-server"},{"title":"Query Databricks","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/query/databricks","href":"/api-reference/query/query-databricks"},{"title":"Natural-language query (AI)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/query/natural","href":"/api-reference/query/natural-language-query-ai"}]},{"group":"Search","pages":[{"title":"Semantic search (all vector stores)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/search/{store}","href":"/api-reference/search/semantic-search-all-vector-stores"}]},{"group":"Health","pages":[{"title":"Server-side doctor report","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/doctor","href":"/api-reference/health/server-side-doctor-report"},{"title":"Check backend service health","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/health/services","href":"/api-reference/health/check-backend-service-health"},{"title":"List live, reachable vector stores","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/vector-stores/available","href":"/api-reference/health/list-live-reachable-vector-stores"},{"title":"List usable structured destinations","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/destinations/available","href":"/api-reference/health/list-usable-structured-destinations"}]},{"group":"Metadata","pages":[{"title":"List PostgreSQL databases","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/postgres/databases","href":"/api-reference/metadata/list-postgresql-databases"},{"title":"List PostgreSQL schemas","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/postgres/schemas","href":"/api-reference/metadata/list-postgresql-schemas"},{"title":"List PostgreSQL tables","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/postgres/tables","href":"/api-reference/metadata/list-postgresql-tables"},{"title":"List table columns","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/postgres/columns","href":"/api-reference/metadata/list-table-columns"},{"title":"List MongoDB databases","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/mongodb/databases","href":"/api-reference/metadata/list-mongodb-databases"},{"title":"List MongoDB collections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/mongodb/collections","href":"/api-reference/metadata/list-mongodb-collections"},{"title":"List Qdrant collections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/qdrant/collections","href":"/api-reference/metadata/list-qdrant-collections"},{"title":"List Weaviate classes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/weaviate/classes","href":"/api-reference/metadata/list-weaviate-classes"},{"title":"List Milvus collections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/milvus/collections","href":"/api-reference/metadata/list-milvus-collections"},{"title":"List Chroma collections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/metadata/chroma/collections","href":"/api-reference/metadata/list-chroma-collections"}]},{"group":"Configuration","pages":[{"title":"Upload a configuration file","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/config/upload","href":"/api-reference/configuration/upload-a-configuration-file"},{"title":"AI-generate a validation schema","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/config/generate-schema","href":"/api-reference/configuration/ai-generate-a-validation-schema"}]},{"group":"Secrets","pages":[{"title":"List all secrets","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/secrets","href":"/api-reference/secrets/list-all-secrets"},{"title":"Get secret details","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/secrets/{name}","href":"/api-reference/secrets/get-secret-details"},{"title":"Create or update a secret","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/v1/secrets/{name}","href":"/api-reference/secrets/create-or-update-a-secret"},{"title":"Delete a secret","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/secrets/{name}","href":"/api-reference/secrets/delete-a-secret"}]},{"group":"Taps","pages":[{"title":"List all taps","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/taps","href":"/api-reference/taps/list-all-taps"},{"title":"Get a tap configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap","href":"/api-reference/taps/get-a-tap-configuration"},{"title":"Create or update a tap","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap","href":"/api-reference/taps/create-or-update-a-tap"},{"title":"Delete a tap","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/tap","href":"/api-reference/taps/delete-a-tap"},{"title":"Get tap run history","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/logs","href":"/api-reference/taps/get-tap-run-history"},{"title":"Get run history across all taps","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/logs/all","href":"/api-reference/taps/get-run-history-across-all-taps"},{"title":"Brainstorm chat (AI)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/brainstorm","href":"/api-reference/taps/brainstorm-chat-ai"},{"title":"Generate tap script (AI)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/generate","href":"/api-reference/taps/generate-tap-script-ai"},{"title":"Live progress of an in-flight script generation","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/generate/status","href":"/api-reference/taps/live-progress-of-an-in-flight-script-generation"},{"title":"Fix tap script (AI diagnosis)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/fix","href":"/api-reference/taps/fix-tap-script-ai-diagnosis"},{"title":"Store a tap script","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/script","href":"/api-reference/taps/store-a-tap-script"},{"title":"Pull a repo-backed tap script from its branch head","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/script/pull","href":"/api-reference/taps/pull-a-repo-backed-tap-script-from-its-branch-head"},{"title":"Move a tap script between storage backends","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/migrate-storage","href":"/api-reference/taps/move-a-tap-script-between-storage-backends"},{"title":"Review tap script (AI)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/review","href":"/api-reference/taps/review-tap-script-ai"},{"title":"Optimize tap script (AI)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/optimize","href":"/api-reference/taps/optimize-tap-script-ai"},{"title":"Test a tap","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/test","href":"/api-reference/taps/test-a-tap"},{"title":"Run a tap","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/run","href":"/api-reference/taps/run-a-tap"},{"title":"Generate CRON expression (AI)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/cron","href":"/api-reference/taps/generate-cron-expression-ai"},{"title":"Read a document tap's ledger","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/ledger","href":"/api-reference/taps/read-a-document-taps-ledger"},{"title":"Clear the ledger (force re-scan) or delete one entry (force re-process)","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/tap/ledger","href":"/api-reference/taps/clear-the-ledger-force-re-scan-or-delete-one-entry-force-re-process"},{"title":"Read a tap's incremental-sync state","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/state","href":"/api-reference/taps/read-a-taps-incremental-sync-state"},{"title":"Overwrite a tap's incremental-sync state","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/state","href":"/api-reference/taps/overwrite-a-taps-incremental-sync-state"},{"title":"Reset a tap's incremental-sync state","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/tap/state","href":"/api-reference/taps/reset-a-taps-incremental-sync-state"}]},{"group":"Code repository","pages":[{"title":"Get the tenant code repository configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/code-repo","href":"/api-reference/code-repository/get-the-tenant-code-repository-configuration"},{"title":"Save the tenant code repository configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/v1/code-repo","href":"/api-reference/code-repository/save-the-tenant-code-repository-configuration"},{"title":"Test a code repository connection","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/code-repo/test","href":"/api-reference/code-repository/test-a-code-repository-connection"}]},{"group":"Versions","pages":[{"title":"List tap definition versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/versions","href":"/api-reference/versions/list-tap-definition-versions"},{"title":"Get a tap version snapshot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/version","href":"/api-reference/versions/get-a-tap-version-snapshot"},{"title":"Diff two tap versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap/version/diff","href":"/api-reference/versions/diff-two-tap-versions"},{"title":"Restore a tap version","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap/version/restore","href":"/api-reference/versions/restore-a-tap-version"},{"title":"List pipeline definition versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipeline/versions","href":"/api-reference/versions/list-pipeline-definition-versions"},{"title":"Get a pipeline version snapshot","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipeline/version","href":"/api-reference/versions/get-a-pipeline-version-snapshot"},{"title":"Diff two pipeline versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/pipeline/version/diff","href":"/api-reference/versions/diff-two-pipeline-versions"},{"title":"Restore a pipeline version","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/pipeline/version/restore","href":"/api-reference/versions/restore-a-pipeline-version"}]},{"group":"Auth","pages":[{"title":"Log in","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/auth/login","href":"/api-reference/auth/log-in"},{"title":"Start single sign-on (OIDC)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/auth/oidc/login","href":"/api-reference/auth/start-single-sign-on-oidc"},{"title":"Single sign-on (OIDC) callback","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/auth/oidc/callback","href":"/api-reference/auth/single-sign-on-oidc-callback"},{"title":"Log out","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/auth/logout","href":"/api-reference/auth/log-out"},{"title":"Get the current user","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/auth/me","href":"/api-reference/auth/get-the-current-user"},{"title":"Change the current user's password","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/auth/change-password","href":"/api-reference/auth/change-the-current-users-password"},{"title":"List users (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/auth/users","href":"/api-reference/auth/list-users-admin"},{"title":"Create a user (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/auth/users","href":"/api-reference/auth/create-a-user-admin"},{"title":"Delete a user (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/auth/users/{username}","href":"/api-reference/auth/delete-a-user-admin"},{"title":"Update a user (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /api/v1/auth/users/{username}","href":"/api-reference/auth/update-a-user-admin"}]},{"group":"Agent Policy","pages":[{"title":"Read the agent policy","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/policy","href":"/api-reference/agent-policy/read-the-agent-policy"},{"title":"Replace the agent policy (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/v1/policy","href":"/api-reference/agent-policy/replace-the-agent-policy-admin"},{"title":"List queued agent actions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/approvals","href":"/api-reference/agent-policy/list-queued-agent-actions"},{"title":"Read one queued action","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/approvals/{id}","href":"/api-reference/agent-policy/read-one-queued-action"},{"title":"Approve a queued action (admin / editor)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/approvals/{id}/approve","href":"/api-reference/agent-policy/approve-a-queued-action-admin-editor"},{"title":"Reject a queued action (admin / editor)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/approvals/{id}/reject","href":"/api-reference/agent-policy/reject-a-queued-action-admin-editor"}]},{"group":"Recovery Agent","pages":[{"title":"List recovery-agent incidents","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/incidents","href":"/api-reference/recovery-agent/list-recovery-agent-incidents"},{"title":"Read one incident","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/incidents/{id}","href":"/api-reference/recovery-agent/read-one-incident"},{"title":"Read one incident's evidence","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/incidents/{id}/evidence","href":"/api-reference/recovery-agent/read-one-incidents-evidence"},{"title":"Abandon an open incident (admin / editor)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/incidents/{id}/abandon","href":"/api-reference/recovery-agent/abandon-an-open-incident-admin-editor"},{"title":"Proceed past a needs-human scratch verdict (admin / editor)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/incidents/{id}/proceed","href":"/api-reference/recovery-agent/proceed-past-a-needs-human-scratch-verdict-admin-editor"},{"title":"Server-side Activity signals","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/activity/signals","href":"/api-reference/recovery-agent/server-side-activity-signals"}]},{"group":"Audit Log","pages":[{"title":"Query the audit log (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/audit-log","href":"/api-reference/audit-log/query-the-audit-log-admin"},{"title":"Audit log filter values (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/audit-log/facets","href":"/api-reference/audit-log/audit-log-filter-values-admin"},{"title":"Audit log operational status (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/audit-log/status","href":"/api-reference/audit-log/audit-log-operational-status-admin"},{"title":"Export the audit log as CSV (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/audit-log/export","href":"/api-reference/audit-log/export-the-audit-log-as-csv-admin"}]},{"group":"API Keys","pages":[{"title":"List API keys (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/keys","href":"/api-reference/api-keys/list-api-keys-admin"},{"title":"Issue a new API key (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/keys","href":"/api-reference/api-keys/issue-a-new-api-key-admin"},{"title":"Revoke an API key (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/keys/{label}","href":"/api-reference/api-keys/revoke-an-api-key-admin"},{"title":"Rotate an API key (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/keys/{label}/rotate","href":"/api-reference/api-keys/rotate-an-api-key-admin"},{"title":"Capability catalog (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/keys/capabilities/catalog","href":"/api-reference/api-keys/capability-catalog-admin"},{"title":"Capability templates (admin)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/keys/templates","href":"/api-reference/api-keys/capability-templates-admin"}]},{"group":"Assistant","pages":[{"title":"Initialize the Assistant","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/assistant/init","href":"/api-reference/assistant/initialize-the-assistant"},{"title":"Assistant chat (SSE)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/assistant/chat","href":"/api-reference/assistant/assistant-chat-sse"},{"title":"Stage a chat attachment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/assistant/attachment","href":"/api-reference/assistant/stage-a-chat-attachment"}]},{"group":"Chat","pages":[{"title":"Ops chat (SSE)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/ops-chat/chat","href":"/api-reference/chat/ops-chat-sse"},{"title":"Search chat (SSE)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/search-chat/chat","href":"/api-reference/chat/search-chat-sse"},{"title":"Catalog chat (SSE)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/catalog-chat/chat","href":"/api-reference/chat/catalog-chat-sse"},{"title":"Configuration chat (SSE)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/config-chat/chat","href":"/api-reference/chat/configuration-chat-sse"}]},{"group":"MCP","pages":[{"title":"Get MCP server activity","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/mcp/activity","href":"/api-reference/mcp/get-mcp-server-activity"},{"title":"Clear MCP activity history","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/mcp/activity","href":"/api-reference/mcp/clear-mcp-activity-history"},{"title":"MCP tools the calling key may use","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/mcp/tools","href":"/api-reference/mcp/mcp-tools-the-calling-key-may-use"}]},{"group":"Tap Prompts","pages":[{"title":"List tap prompt fragments","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap-prompts","href":"/api-reference/tap-prompts/list-tap-prompt-fragments"},{"title":"Create or update a tap prompt fragment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap-prompts","href":"/api-reference/tap-prompts/create-or-update-a-tap-prompt-fragment"},{"title":"Get a tap prompt fragment","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tap-prompts/{key}","href":"/api-reference/tap-prompts/get-a-tap-prompt-fragment"},{"title":"Delete a tap prompt fragment","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/v1/tap-prompts/{key}","href":"/api-reference/tap-prompts/delete-a-tap-prompt-fragment"},{"title":"Suggest fragment content (AI)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/tap-prompts/suggest","href":"/api-reference/tap-prompts/suggest-fragment-content-ai"}]},{"group":"Provenance","pages":[{"title":"Resolve a stamped run id to its origin","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/provenance","href":"/api-reference/provenance/resolve-a-stamped-run-id-to-its-origin"},{"title":"The whole lineage graph","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/lineage","href":"/api-reference/provenance/the-whole-lineage-graph"},{"title":"One node's lineage neighborhood","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/lineage/{nodeType}/{name}","href":"/api-reference/provenance/one-nodes-lineage-neighborhood"},{"title":"Column-level lineage for one pipeline definition","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/lineage/columns/{pipeline}","href":"/api-reference/provenance/column-level-lineage-for-one-pipeline-definition"},{"title":"Find datasets by meaning (discovery, not execution)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/catalog/find","href":"/api-reference/provenance/find-datasets-by-meaning-discovery-not-execution"},{"title":"Browse Unity Catalog with a Databricks Platform secret","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/unity-catalog/browse","href":"/api-reference/provenance/browse-unity-catalog-with-a-databricks-platform-secret"}]},{"group":"Internal callbacks","pages":[{"title":"Async REST endpoint callback (internal)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/restendpoint/callback","href":"/api-reference/internal-callbacks/async-rest-endpoint-callback-internal"},{"title":"MinIO bucket notification webhook (internal)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /minio-events","href":"/api-reference/internal-callbacks/minio-bucket-notification-webhook-internal"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Restore a catalog from a zip backup - Datris","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}