Workspaces
List workspace
Log in using the POST /api/v1/auth/ endpoint
Success: Workspace List
GET /api/v1/workspaces/ HTTP/1.1
Host: /
Accept: */*
Success: Workspace List
{
"workspaces": [
{
"pk": 1,
"name": "text",
"organization": 1,
"engine_id": "text",
"owner_name": "text",
"created_at": "2025-11-27T07:42:00.997Z",
"status": "text",
"engine": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"latest_job_status": "STARTED",
"connector_type": "text",
"source_database_status": "CURRENT"
},
"initialization_mode": "SYNTHESIZE",
"key_generation_method": "duplicate",
"default_locale": "en"
}
]
}Create a new workspace and engine
Log in using the POST /api/v1/auth/ endpoint
The sample database to use
SCRATCHduplicateenSuccess: Created workspace
Failed
POST /api/v1/workspaces/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 1194
{
"initialization_mode": "SCRATCH",
"key_generation_method": "duplicate",
"default_locale": "en",
"source_connection": {
"hooks_params": {
"SSHTunnel": {
"host": "text",
"port": 1,
"username": "text",
"local_port": 1,
"local_host": "text",
"password": "text",
"pkey_password": "text",
"pkey": "text"
},
"SSL": {
"ca_filename": "text",
"cert_filename": "text",
"key_filename": "text",
"ssl_mode": "text",
"ca": "text",
"cert": "text",
"key": "text"
},
"Kerberos": {
"principal": "text",
"keytab_file": "text"
}
},
"is_source": true,
"connector_type": "text",
"host": "text",
"database": "text",
"username": "text",
"password": "text",
"schema_name": "text",
"port": 1433,
"protocol": "mssql+pyodbc"
},
"target_connection": {
"hooks_params": {
"SSHTunnel": {
"host": "text",
"port": 1,
"username": "text",
"local_port": 1,
"local_host": "text",
"password": "text",
"pkey_password": "text",
"pkey": "text"
},
"SSL": {
"ca_filename": "text",
"cert_filename": "text",
"key_filename": "text",
"ssl_mode": "text",
"ca": "text",
"cert": "text",
"key": "text"
},
"Kerberos": {
"principal": "text",
"keytab_file": "text"
}
},
"is_source": true,
"connector_type": "text",
"host": "text",
"database": "text",
"username": "text",
"password": "text",
"schema_name": "text",
"port": 1433,
"protocol": "mssql+pyodbc"
},
"name": "text",
"organization": 1
}{
"pk": 1,
"name": "text",
"organization": 1,
"engine_id": "text",
"owner_name": "text",
"created_at": "2025-11-27T07:42:00.997Z",
"status": "text",
"engine": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"latest_job_status": "STARTED",
"connector_type": "text",
"source_database_status": "CURRENT"
},
"initialization_mode": "SYNTHESIZE",
"key_generation_method": "duplicate",
"default_locale": "en"
}Log in using the POST /api/v1/auth/ endpoint
GET /api/v1/workspaces/{id}/ HTTP/1.1
Host: /
Accept: */*
{
"pk": 1,
"name": "text",
"organization": 1,
"engine_id": "text",
"owner_name": "text",
"created_at": "2025-11-27T07:42:00.997Z",
"status": "text",
"engine": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"latest_job_status": "STARTED",
"connector_type": "text",
"source_database_status": "CURRENT"
},
"initialization_mode": "SYNTHESIZE",
"key_generation_method": "duplicate",
"default_locale": "en"
}Update a workspace and engine
Log in using the POST /api/v1/auth/ endpoint
duplicateenSuccess: Created workspace
Failed
PUT /api/v1/workspaces/{id}/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 1123
{
"source_connection": {
"hooks_params": {
"SSHTunnel": {
"host": "text",
"port": 1,
"username": "text",
"local_port": 1,
"local_host": "text",
"password": "text",
"pkey_password": "text",
"pkey": "text"
},
"SSL": {
"ca_filename": "text",
"cert_filename": "text",
"key_filename": "text",
"ssl_mode": "text",
"ca": "text",
"cert": "text",
"key": "text"
},
"Kerberos": {
"principal": "text",
"keytab_file": "text"
}
},
"is_source": true,
"connector_type": "text",
"host": "text",
"database": "text",
"username": "text",
"password": "text",
"schema_name": "text",
"port": 1,
"protocol": "text"
},
"target_connection": {
"hooks_params": {
"SSHTunnel": {
"host": "text",
"port": 1,
"username": "text",
"local_port": 1,
"local_host": "text",
"password": "text",
"pkey_password": "text",
"pkey": "text"
},
"SSL": {
"ca_filename": "text",
"cert_filename": "text",
"key_filename": "text",
"ssl_mode": "text",
"ca": "text",
"cert": "text",
"key": "text"
},
"Kerberos": {
"principal": "text",
"keytab_file": "text"
}
},
"is_source": true,
"connector_type": "text",
"host": "text",
"database": "text",
"username": "text",
"password": "text",
"schema_name": "text",
"port": 1,
"protocol": "text"
},
"key_generation_method": "duplicate",
"default_locale": "en",
"name": "text"
}{
"pk": 1,
"name": "text",
"organization": 1,
"engine_id": "text",
"owner_name": "text",
"created_at": "2025-11-27T07:42:00.997Z",
"status": "text",
"engine": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"latest_job_status": "STARTED",
"connector_type": "text",
"source_database_status": "CURRENT"
},
"initialization_mode": "SYNTHESIZE",
"key_generation_method": "duplicate",
"default_locale": "en"
}Delete a workspace and cancel workspace creation job.
Log in using the POST /api/v1/auth/ endpoint
No response body
DELETE /api/v1/workspaces/{id}/ HTTP/1.1
Host: /
Accept: */*
No response body
No content
Duplicates a workspace, including permissions
Log in using the POST /api/v1/auth/ endpoint
duplicateenSuccess: Created workspace
Failed
POST /api/v1/workspaces/{id}/duplicate/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 1123
{
"source_connection": {
"hooks_params": {
"SSHTunnel": {
"host": "text",
"port": 1,
"username": "text",
"local_port": 1,
"local_host": "text",
"password": "text",
"pkey_password": "text",
"pkey": "text"
},
"SSL": {
"ca_filename": "text",
"cert_filename": "text",
"key_filename": "text",
"ssl_mode": "text",
"ca": "text",
"cert": "text",
"key": "text"
},
"Kerberos": {
"principal": "text",
"keytab_file": "text"
}
},
"is_source": true,
"connector_type": "text",
"host": "text",
"database": "text",
"username": "text",
"password": "text",
"schema_name": "text",
"port": 1,
"protocol": "text"
},
"target_connection": {
"hooks_params": {
"SSHTunnel": {
"host": "text",
"port": 1,
"username": "text",
"local_port": 1,
"local_host": "text",
"password": "text",
"pkey_password": "text",
"pkey": "text"
},
"SSL": {
"ca_filename": "text",
"cert_filename": "text",
"key_filename": "text",
"ssl_mode": "text",
"ca": "text",
"cert": "text",
"key": "text"
},
"Kerberos": {
"principal": "text",
"keytab_file": "text"
}
},
"is_source": true,
"connector_type": "text",
"host": "text",
"database": "text",
"username": "text",
"password": "text",
"schema_name": "text",
"port": 1,
"protocol": "text"
},
"key_generation_method": "duplicate",
"default_locale": "en",
"name": "text"
}{
"pk": 1,
"name": "text",
"organization": 1,
"engine_id": "text",
"owner_name": "text",
"created_at": "2025-11-27T07:42:00.997Z",
"status": "text",
"engine": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"latest_job_status": "STARTED",
"connector_type": "text",
"source_database_status": "CURRENT"
},
"initialization_mode": "SYNTHESIZE",
"key_generation_method": "duplicate",
"default_locale": "en"
}Log in using the POST /api/v1/auth/ endpoint
GET /api/v1/workspaces/{id}/members/ HTTP/1.1
Host: /
Accept: */*
[
{
"pk": 1,
"workspace": 1,
"user": {
"pk": 1,
"first_name": "text",
"last_name": "text",
"full_name": "text",
"email": "[email protected]"
},
"role": "OWNER",
"data_access": true
}
]Last updated
Was this helpful?

