Connections API
Connections manage external knowledge providers and route synced documents through the Sources API. Every synced item becomes a source record plus searchable source chunks with provider attribution. Supported providers:notion, gdrive, github, slack, s3, web_crawler.
Create Connection
Endpoint:POST /connections/{provider}
oauth_required until credentials are configured. Secret config values are redacted in API responses.
List Connections
Endpoint:GET /connections
Sync Connection
Endpoint:POST /connections/{connection_id}/sync
documents lets agents and connector workers push deterministic document payloads without waiting for OAuth. When provider credentials are present, provider-specific sync can fetch documents directly.
Delete Connection
Endpoint:DELETE /connections/{connection_id}?delete_documents=true
Set delete_documents=true to also delete source records created by that connection.