https://api.planasonix.comAuth:
Authorization: Bearer plus your API key or JWT access token.
List and CRUD
GET /api/connections
List connections in your workspace.
Filter by connector type (for example
postgres, snowflake, s3).Case-insensitive match on connection name.
POST /api/connections
Create a connection. Secret values belong in a credential; config holds non-secret settings.
Human-readable name unique within the project or workspace (per your policy).
Connector type identifier.
Connector-specific configuration (host, database, bucket, region, and so on).
Existing credential that stores secrets for this connection.
GET /api/connections/{id}
Return one connection, including metadata and non-secret config.
Connection identifier.
Connection ID.
Resolved configuration; secrets are never returned in plain text.
PUT /api/connections/{id}
Update name, config, or linked credentialId.
Connection identifier.
New display name.
Replacement or merged config (behavior depends on connector; send full object when in doubt).
New credential to attach.
DELETE /api/connections/{id}
Remove a connection. Fails if active pipelines still reference it (unless your API version allows force delete).
Connection identifier.
Test and introspection
POST /api/connections/test
Validate settings without persisting a connection.
Connector type.
Connection configuration to test.
Optional credential for secret resolution.
GET /api/connections/{id}/tables
List tables available through the connection.
Connection identifier.
Limit to a schema (when applicable).
GET /api/connections/{id}/columns
Return columns for a specific table.
Connection identifier.
Schema name.
Table name.
GET /api/connections/{id}/schemas
List schemas (databases that support multiple schemas).
Connection identifier.
GET /api/connections/{id}/catalogs
List catalogs (Iceberg, Unity Catalog, Hive-metastore style sources).
Connection identifier.
GET /api/connections/{id}/preview
Sample rows from a table or object.
Connection identifier.
Schema or namespace.
Table or object name.
Max rows (default bounded by server policy, often 100–1000).
GET /api/connections/{id}/files
Browse objects in cloud storage connections.
Connection identifier.
Path prefix inside the bucket or container.
Directory delimiter (often
/).GET /api/connections/{id}/cloud-schema
Infer or load schema for files in cloud storage (for example Parquet/CSV headers).
Connection identifier.
Object key or path to inspect.
Query-parameter variants
GET /api/connections/tables
Same as listing tables, but connectionId is passed as a query parameter instead of a path segment.
Connection to introspect.
Optional schema filter.
GET /api/connections/columns
Column metadata with connectionId (and table identifiers) in the query string.
Connection to introspect.
Schema name.
Table name.
POST /api/connections/test-query
Run a read-only SQL statement to validate syntax and permissions (subject to row/timeout limits).
Target connection.
SQL to execute (typically
SELECT only).Row cap for the result set.
POST /api/connections/databricks/discover
Discover catalogs and schemas for Databricks-backed connections.
Databricks connection ID.
When set, list schemas inside this catalog only.
Related
Credentials
Store secrets separately from connection config.