Skip to main content

Get a warehouse

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

Returns Warehouse details, including deployment mode, region, version, and the status of the primary Cluster when available.

For Warehouses that are still being provisioned, the response includes provisioningProgress. For guided BYOC Warehouses, the response can also include setupGuide with the cloud provider setup link to continue resource stack creation.

Authorization

X-API-Keystring · headerrequired

API key for /v1 requests.

Path parameters

warehouseIdstringrequired

Warehouse ID.

Response

Warehouse 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
warehouseIdstringrequired

Warehouse ID.

namestringrequired

Warehouse display name.

statusstring

Current Warehouse status, based on the primary SQL Cluster when available.

  • Creating, Running, Deleting, Deleted, CreateFailed: core warehouse lifecycle states
  • Resizing: capacity scaling is in progress
  • Adjusting: a configuration or shape adjustment is in progress
  • Upgrading: an engine upgrade is in progress
  • Suspending: the Warehouse is being suspended
  • Suspended: the Warehouse is currently suspended
  • Resuming: the Warehouse is resuming
  • Stopping: the Warehouse is stopping
  • Stopped: the Warehouse is stopped
  • Starting: the Warehouse is starting
  • Restarting: the Warehouse is restarting
Allowed valuesCreatingRunningResizingAdjustingUpgradingSuspendingResumingStoppingStartingRestartingDeletingSuspendedStoppedDeletedCreateFailed
cloudProviderstringrequired

Cloud provider for the warehouse resources.

regionstringrequired

Cloud region for the warehouse resources.

zonestring

Primary availability zone of the primary SQL Cluster when available.

zoneMapobject

Available zones for a multi-AZ Warehouse. Keys are valid zone values for creating a Cluster; values are display names. This field is omitted for a single-AZ Warehouse.

Additional propertiesstring

Deployment mode of the Warehouse. Typical values are BYOC and SaaS.

Allowed valuesBYOCSaaS
credentialIdinteger · int64

Credential configuration ID associated with the Warehouse. Omitted when no credential configuration is associated. Returned by both list and detail queries.

Example123
networkConfigIdinteger · int64

Network configuration ID associated with the Warehouse. Omitted when no network configuration is associated. Returned by both list and detail queries.

Example456
tdeEncryptionKeyIdinteger · int64 | null

VeloDB encryption key configuration ID used for transparent data encryption (TDE). Omitted when the Warehouse does not use a customer-managed TDE key.

Example824347710726149
ebsEncryptionKeyIdinteger · int64 | null

VeloDB encryption key configuration ID used for EBS volume encryption. Omitted when the Warehouse does not use a customer-managed EBS key.

Example824403622567941

Engine version of the primary SQL Cluster when available.

createdAtstring · date-timerequired

Warehouse creation time in ISO 8601 format, for example 2026-04-21T08:30:00Z.

Example2026-04-21T08:30:00Z
expireTimestring · date-time

Warehouse expiration time when available, for example 2027-04-21T08:30:00Z.

Example2027-04-21T08:30:00Z

Endpoint service ID associated with the Warehouse, when PrivateLink endpoint service information is available.

Endpoint service name associated with the Warehouse, resolved from the endpoint service record when available.

Resolved BYOC guided setup instructions for the selected VPC mode. Follow setupUrl to open the cloud provider console and launch the provider-hosted provisioning flow.

Child fields
setupUrlstring · uri | null

Setup link selected for the requested BYOC VPC mode. Open this link to continue in the cloud provider console and launch the provisioning flow.

guideUrlstring · uri | null

Documentation link for the selected BYOC setup path.

shellCommandstring | null

Cloud Shell command for guided BYOC setup, when available. Use setupUrl for the provider console flow unless the setup guide explicitly instructs you to run this command.

Child fields
progressnumber · doublerequired

Current provisioning progress as a decimal between 0 and 1.

Minimum0
Maximum1
Example0.67
stepstringrequired

Current high-level provisioning step shown to the user.

Typical values are Cloud Environment Setup, Agent Deployment, and Warehouse Initialization.

ExampleAgent Deployment
stepCodestringrequired

Stable machine-readable identifier for the current high-level provisioning step.

Allowed valuescloud_environment_setupagent_deploymentwarehouse_initialization
Exampleagent_deployment
hasErrorbooleanrequired

Whether the workflow is reporting an error state.

errorCodestring | null

Provisioning or cloud-side error code when available.

errorMessagestring | null

Provisioning or cloud-side error message when available.

Enter to send · Shift+Enter for a new line