Skip to main content

Get warehouse public access policy

GET/v1/warehouses/{warehouseId}/connections/public/access-policyTry it
View request and response examples ↓

Returns the Warehouse public access policy. The allowlist is returned only when publicAccessPolicy is ALLOWLIST_ONLY. This operation applies to SaaS and BYOC Warehouses.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

Response

Public access policy 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

Current public access policy.

Allowed valuesDENY_ALLALLOW_ALLALLOWLIST_ONLY
allowlistobject[]

Current public allowlist rules for the Warehouse. Returned only when publicAccessPolicy is ALLOWLIST_ONLY; omitted for DENY_ALL and ALLOW_ALL. Use PATCH /v1/warehouses/{warehouseId}/connections/public/access-policy to update the policy.

Item fields
cidrstring

Allowed source IP address or CIDR range.

Example203.0.113.0/24

Optional rule description.

ExampleOffice egress IPs

Enter to send · Shift+Enter for a new line