v1
latestOpenAPI 3.1.02026-08-0413468163.9 KBCreate Connector Endpoint
Create new connector after source prerequisite validation.
Flow:
- Validate connection_details schema for service_name
- Run the row-less PostgreSQL source prerequisite gate
- Store connection details in Key Vault
- Save connector to database
- Return connector (without schema_structure - call /discover next)
Response time: 500ms-1s (fast validation only)
Note: After creating, call POST /connectors/{id}/discover to run schema discovery.
Preflight gate scope: steps 1-2 run for every PostgreSQL create where byoc is None — this deliberately includes BYOC-environment (use_environment=True, ARN-based) connectors as well as direct (no-environment) connectors. For the BYOC-environment path the gate probes the source through the discovery tunnel (private_link_id + resolved byoc_access_credentials are forwarded to run_discovery_preflight), so the source is validated before any row or secret is written. Only Neon-BYOC (byoc='neon') and non-PostgreSQL creates skip the gate.
Request body
Response
The created connector row plus can_update/can_delete.