Atlas
Onboarding

Set up workspace with demo data

Connects the workspace to the platform's default datasource (ATLAS_DATASOURCE_URL) and imports the semantic layer for the chosen demo dataset. Three datasets are available: 'demo' (SaaS CRM, 3 tables), 'cybersec' (Sentinel Security, 62 tables), 'ecommerce' (NovaMart, 52 tables). Defaults to 'demo' if not specified.

POST
/api/v1/onboarding/use-demo

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/onboarding/use-demo" \  -H "Content-Type: application/json" \  -d '{}'
{
  "connectionId": "string",
  "dbType": "string",
  "maskedUrl": "string",
  "entitiesImported": 0
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}