Datasources

Create datasource connector

Validates the request, tests the connection, encrypts credentials, and persists a new datasource connector. Returns 422 if the connection test fails.

post/datasources

Request body

namestring required

Name is the unique human-readable label for this connector. Must be 3–100 characters; only letters, digits, hyphens (-), and underscores (_) are allowed. Duplicate-name detection is case-insensitive ("My-DB" and "my-db" conflict).

paramsobject required

Params holds the provider-specific configuration. Sensitive fields (format: "password" in the JSON schema) are encrypted at rest; all other fields are stored in plain text.

provider_idstring required

ProviderID identifies the provider implementation (e.g. "object_storage", "file_system").

Response

Datasource created

idstring

Changes