Skip to main content

Get warehouse connections

GET/v1/warehouses/{warehouseId}/connectionsTry it
View request and response examples ↓

Returns the default connection endpoints for the Warehouse.

publicEndpoints lists public connection endpoints by protocol. privateEndpoints lists private connection endpoints by protocol and includes the cloud endpoint ID when available. computeClusters lists compute clusters and their HTTP ports for SaaS Warehouses. observerGroups lists observer groups, their connection addresses, and JDBC ports when observer nodes are present.

For BYOC Warehouses, private connection details appear in privateEndpoints when private connectivity is configured. publicEndpoints can be null, and computeClusters is not returned.

Public allowlist policy is returned separately by GET /v1/warehouses/{warehouseId}/connections/public/access-policy. Registered endpoint services and the endpoints VeloDB created to access them are returned separately by GET /v1/private-link/endpoint-services.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

Response

Connection details returned successfully.

application/json
successbooleanrequired

Indicates whether the request succeeded.

Exampletrue
requestIdstringrequired

Request ID returned by the server for tracing.

Examplereq-20260402-001
dataobjectrequired
Child fields
publicEndpointsobject[] | null

Public connection endpoints grouped by protocol. For BYOC Warehouses, this field can be null.

Item fields
protocolstring

Connection protocol for this endpoint.

Allowed valuesjdbchttpstream_loadadbcstudiomcp
Examplejdbc
hoststring

Domain name, DNS name, or IP address used for this protocol. MCP endpoints omit this field; use url instead.

Examplelb-47682821-588bca5a403a2d37.elb.us-east-1.amazonaws.com
portinteger | null

Protocol port when the endpoint uses a TCP or HTTP port.

Example9030
urlstring

Ready-to-use connection URL when the protocol has a URL form.

Examplejdbc:mysql://lb-47682821-588bca5a403a2d37.elb.us-east-1.amazonaws.com:9030/<Database>?user=admin&password=<Password>
privateEndpointsobject[] | null

Private connection endpoints grouped by protocol. BYOC Warehouses return their private domain name here when private connectivity is configured.

Item fields
protocolstring

Connection protocol for this endpoint.

Allowed valuesjdbchttpstream_loadadbcstudiomcp
Examplejdbc
hoststring

Domain name, DNS name, or IP address used for this protocol. MCP endpoints omit this field; use url instead.

Examplelb-47682821-588bca5a403a2d37.elb.us-east-1.amazonaws.com
portinteger | null

Protocol port when the endpoint uses a TCP or HTTP port.

Example9030
urlstring

Ready-to-use connection URL when the protocol has a URL form.

Examplejdbc:mysql://lb-47682821-588bca5a403a2d37.elb.us-east-1.amazonaws.com:9030/<Database>?user=admin&password=<Password>

Cloud private endpoint ID when available. BYOC private-domain endpoints may omit this field.

Examplevpce-0123456789abcdef0
computeClustersobject[] | null

Compute clusters and their HTTP ports for SaaS Warehouses. BYOC Warehouses do not return compute clusters.

Item fields
clusterIdstring

Compute cluster ID.

ExampleACME1234

Compute cluster name.

Examplecompute-1
httpPortinteger | null

HTTP port exposed by this compute cluster.

Example18080
observerGroupsobject[] | null

Observer groups and their JDBC ports when observer nodes are present.

Item fields
namestring

Observer Cluster group name.

addressstring

Connection address for the Observer Cluster group. For BYOC Warehouses, this defaults to the Warehouse connection address; GCP Observers with dedicated load balancers return their own load balancer address.

jdbcPortinteger | null

JDBC port exposed for the Observer Cluster group.

Enter to send · Shift+Enter for a new line