preset-import-export · git:20260611.ad7851f · 2026-06-11 · sha256 79a1a44c6519b08e
preset-import-export git:20260611.ad7851fA
Immutable. This exact content is served forever at /api/v1/blob/79a1a44c6519b08e.
--- name: preset-import-export description: Inspect and route direct Superset import/export workflows for dashboards, charts, datasets, databases, saved queries, themes, and asset bundles. Use only for direct API workflows; Do not use for MCP-only work. --- # preset-import-export Use for workspace asset import/export endpoint selection and disclosure review. ## Always - Auth and conventions come from `preset-api` (JWT exchange, base URLs, Rison); resolve the workspace hostname through the Management API when it is not already known. - Treat imports as mutations, and exports as potential disclosure of SQL, metadata, UUIDs, tags, related dataset/database YAML, and credential-bearing fields — confirmation-gated, naming workspace, endpoint, object IDs or bundle, destination, and expected disclosure or mutation. - Route overwrite, sparse-update, all-assets restore, database import, and secret-bearing import to `preset-destructive-imports`. ## Decision Rules - Distinguish export disclosure from import mutation. - Classify overwrite imports as destructive. - Disclose bundle secret handling. - Require validation before import. ## Workflow Order 1. Inspect request and bundle metadata. 2. Choose export or import path. 3. Prepare disclosure or mutation approval summary. 4. Confirm before any export or import execution. ## Retrieve - Export endpoints and approvals: [references/export-workflows.md](references/export-workflows.md) - Import endpoints and mutation routing: [references/import-workflows.md](references/import-workflows.md) - Bundle disclosure and secret redaction: [references/bundle-secrets-and-disclosure.md](references/bundle-secrets-and-disclosure.md) - OpenAPI checks and safe smoke validation: [references/validation-and-smoke.md](references/validation-and-smoke.md)