Data connections¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region.
Configure external data connections, browse source data, and create and track import or export tasks.
Select task¶
Task |
interface |
Description |
|---|---|---|
Configure external data connection |
View, create, modify, or verify external data source connectors. |
|
Read or process connector files |
Lists connector files and handles file preview and temporary file upload, download, and deletion. |
|
Source database |
Lists the database, schema, table or collection and field structures accessible to the connector. |
|
Import data into workspace |
Import files from a connector or locally, or write database structured data to a target table. |
|
Export files or results to a connector |
Submit the export task and query the file status and target configuration. |
General calling method¶
Data connections use the AI Studio API. The request address starts with $CLOUDSIGMA_API_BASE. Each action page provides the complete request address that can be used directly.
Each request must carry the following request headers:
X-API-Key: $CLOUDSIGMA_API_KEY
X-Workspace-ID: $WORKSPACE_ID
The value of X-API-Key is the actual personal access token.
The value of X-Workspace-ID is the target workspace ID.
Do not use Authorization: Bearer … to pass the AI Studio personal access token.