Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Getting Started
Pipeline Authoring
    Pipeline Spec OverviewConnections
    Sources
    Transforms
    Destinations
    Execution Settings
Execution
Deployment
Troubleshooting
Examples
Pipeline Authoring

Connections

Every source and destination connects to an external system. That connection is either written inline in the spec (settings + auth) or saved once as a connection and referenced by name with settings.connection_name. Saved connections keep credentials out of specs, can be reused across pipelines, and can be validated and explored before anything runs.

Inline and saved connections
Pipeline specSaved connectionExternal system

At a glance

  • Two ways to connect - inline settings + auth, or a saved connection referenced by connection_name.
  • Credentials stay out of specs - saved connections are reused across pipelines.
  • Validate and explore first - confirm reachability and browse the structure before a run.
  • Permission-gated - connection:list, connection:view, connection:create, connection:edit, connection:delete.

Inline vs saved

Code
settings: # inline url: jdbc:postgresql://db:5432/app auth: user: app password: secret
Code
settings: # saved (recommended) connection_name: bdp_psql

Both forms work for all six source and destination types. When connection_name is set, the app resolves the saved parameters and credentials at run time; the inline fields are not needed.

What a connection holds

FieldNotes
nameUnique - this is what settings.connection_name points at
descriptionOptional
type / providerSame taxonomy as sources and destinations
connParametersNon-secret connection fields (URL, database, bucket, ...)
authCredentials (user/password, keys, tokens, ...)

List and get responses include the connection's parameters (flattened into the response body) but not its credentials. GET /api/connections/{id}/with-auth is the only read that returns the auth block.

The API

Base path /api/connections. All calls are permission-checked.

EndpointPermissionPurpose
GET /api/connectionsconnection:listPaged list; filter by name, type, provider, deleted, creator, dates
GET /api/connections/{id}connection:viewOne connection, without credentials
GET /api/connections/{id}/with-authconnection:viewIncludes the auth block
POST /api/connectionsconnection:createCreate
PUT /api/connections/{id}connection:editUpdate
DELETE /api/connections/{id}connection:deleteSoft delete
POST /api/connections/validateconnection:create / connection:editValidate without saving
GET /api/connections/{id}/exploreconnection:viewDiscover the next level (see below)
POST /api/connections/exploreconnection:viewExplore an unsaved definition
GET /api/connections/{id}/previewconnection:viewBounded row preview

Validate, explore, preview

  • Validate (POST /api/connections/validate) checks a connection definition without saving it - the fastest way to confirm credentials and reachability before applying a pipeline.
  • Explore (.../explore) lists the next level of the connection's hierarchy via provider-specific discovery - databases, schemas, tables, buckets, or folders - one paginated level at a time (items, hasMore). Use it to build assets from real names instead of guessing.
  • Preview (.../preview) returns a bounded set of rows (columns, rows, limit, truncated) for a JDBC table/view or a supported local file.

Permissions

ActionPermission
Listconnection:list
View / explore / previewconnection:view
Createconnection:create
Editconnection:edit
Deleteconnection:delete

Related pages

  • Sources - reading with a connection
  • Destinations - writing with a connection
  • Auth Troubleshooting - 401/403 in depth
  • Environment Variables - connection resolver configuration
Suggest edit
Last modified on November 26, 2026
Pipeline Spec OverviewSources
On this page
  • At a glance
  • Inline vs saved
  • What a connection holds
  • The API
  • Validate, explore, preview
  • Permissions
  • Related pages
YAML
YAML