Import an uploaded bundle into the current organization
Re-plans the uploaded bundle and applies it: all ids are regenerated, references remapped, assets copied. One import at a time per organization. Lab owners only.
Re-plans the uploaded bundle and applies it: all ids are regenerated, references remapped, assets copied. One import at a time per organization. Lab owners only.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/data-bundle/import/execute" \ -H "Content-Type: application/json" \ -d '{ "sessionId": "string" }'{ "success": true, "importLogId": "string", "tables": [ { "name": "string", "domain": "products", "created": 0, "updated": 0, "skipped": 0, "warnings": [ { "code": "member_not_found", "message": "string", "table": "string", "count": 0, "sample": [ "string" ] } ] } ], "totals": { "created": 0, "updated": 0, "skipped": 0 }, "warnings": [ { "code": "member_not_found", "message": "string", "table": "string", "count": 0, "sample": [ "string" ] } ], "assetsCopied": 0}Dry-run an uploaded bundle against the current organization POST
Parses the uploaded bundle and returns per-table created/updated/skipped counts plus warnings, without writing anything. Lab owners only.
Export selected domains as a re-importable zip bundle POST
Streams a versioned zip containing the selected configuration domains (data files + binary assets + manifest). Lab owners only.