GuideLab API

Dry-run an uploaded bundle against the current organization

Parses the uploaded bundle and returns per-table created/updated/skipped counts plus warnings, without writing anything. Lab owners only.

POST
/data-bundle/import/analyze

Parses the uploaded bundle and returns per-table created/updated/skipped counts plus warnings, without writing anything. Lab owners only.

Authorization

__Secure-guidelab-prod.session_token<token>

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/analyze" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "string"  }'
{  "manifest": {    "formatVersion": 0,    "bundleId": "string",    "exportedAt": "string",    "source": {      "orgId": "string",      "orgName": "string",      "orgType": "string",      "orgSlug": "string",      "host": "string"    },    "domains": [      "products"    ]  },  "sameOrg": true,  "crossEnv": true,  "tables": [    {      "name": "string",      "domain": "products",      "importable": true,      "rowsInBundle": 0,      "toCreate": 0,      "toUpdate": 0,      "toSkip": 0,      "warnings": [        {          "code": "member_not_found",          "message": "string",          "table": "string",          "count": 0,          "sample": [            "string"          ]        }      ]    }  ],  "assets": {    "count": 0,    "totalBytes": 0  },  "blockers": [    {      "code": "format_version_unsupported",      "message": "string"    }  ]}
Empty
Empty
Empty
Empty
Empty