Create a warehouse
Creates a VeloDB Cloud warehouse and its initial compute cluster.
Authorization
API key for /v1 requests.
Headers
Idempotency key for write requests.
Use a globally unique UUID or similar token for each logical write request.
Never reuse a RequestId across different operations or payloads.
You can safely retry the same RequestId only when the method, path, path parameters, query string, and request body are identical.
18f6b0c2e-6a9a-4f2e-9c4c-0a1f9a2b7d31Request body
Warehouse display name. Up to 32 characters. Supports only letters, numbers, underscores, and hyphens.
32^[A-Za-z0-9_-]+$analytics-warehouseChoose SaaS for a warehouse managed by VeloDB Cloud or BYOC to deploy the warehouse in your own cloud account.
BYOCSaaSBYOCCloud provider for the warehouse resources. Use GET /v1/cloud-providers to discover supported values for the authenticated organization and deployment mode.
awsCloud region for the warehouse resources. Use GET /v1/cloud-providers/{cloudProvider}/regions to discover supported values for the authenticated organization, cloud provider, and deployment mode.
us-east-1BYOC resource tags. Keys may contain letters, digits, underscores, and hyphens. GCP converts keys and values to lowercase.
string{"team":"analytics","environment":"production"}Engine version in majorVersion.minorVersion format. If omitted, uses the latest recommended version. Invalid or unavailable versions are rejected.
^[0-9]+\.[0-9]+$4.0Initial public IP access policy for a BYOC Warehouse. Ignored for SaaS. If omitted, the default policy applies.
Child fields
Public access mode; deny all, allow all, or allow only listed sources.
DENY_ALLALLOW_ALLALLOWLIST_ONLYFor guided BYOC setup, choose existing to use an existing VPC or new to create one. Values are case-insensitive. The default is new. The choice takes effect during warehouse creation.
existingSelect how to provision resources in your cloud account for BYOC deployments. SaaS deployments ignore this field.
guidedprovisions resources from a template, such as a CloudFormation stack template on AWS. Opendata.setupGuide.setupUrlfrom the response to continue in your cloud provider console.advancedreuses existing configurations and is available only on AWS. SupplycredentialIdandnetworkConfigId. You can also supply encryption key IDs.
guidedadvancedguidedRequired for advanced BYOC setup on AWS. Use the credentialId returned when you create a credential configuration.
Required for advanced BYOC setup on AWS. Use the networkConfigId returned when you create a network configuration.
For advanced BYOC setup on AWS, use the encryptionKeyId from an encryption key configuration to specify the key for transparent data encryption (TDE). The key must belong to your organization, match the warehouse cloud provider and region, and support TDE. Omit this field to use the default TDE behavior.
824347710726149For advanced BYOC setup on AWS, use the encryptionKeyId from an encryption key configuration to encrypt the EBS volumes for the warehouse. The key must belong to your organization, match the warehouse region, and support EBS encryption. You can use the same key for TDE if it supports both uses. Omit this field to use the default EBS encryption behavior.
824403622567941Table-name case-sensitivity mode set when the Warehouse is created. 0 is case-sensitive and is the default; 1 is case-insensitive. This setting cannot be changed after creation.
011Initial administrator password for the Warehouse. Must be 8 to 20 characters, use only letters, digits, and special characters (!@#$%^&*()_+{}[]:;<>,.?~, backslash, and hyphen), and include at least 3 of uppercase letters, lowercase letters, digits, and special characters.
ExamplePassword123!Child fields
Availability zone for the initial Cluster. Use the zone value from the matching region's zones array returned by GET /v1/cloud-providers/{cloudProvider}/regions, not the zone displayName. The zone must be supported by the selected cloud provider and region; unsupported values return InvalidParameter.
us-east-1aCompute capacity of the initial Cluster in vCPUs. Valid values are 4, 8, 16, and multiples of 16 above that.
4Memory-to-vCPU ratio for the initial cluster. Valid values are 4 (1:4) and 8 (1:8). Defaults to 8 (1:8).
48Cache capacity of the initial Cluster in GB. Valid values depend on the selected Cluster package. Under the default capacity rules, the minimum is 100 GB through 16 vCPUs, then increases by 100 GB for each additional 16 vCPUs.
100Child fields
Whether automatic pause is enabled.
Idle time in minutes before the Cluster can be paused automatically. When provided, the value must be greater than or equal to 1. This field is required when enabled is true.
110Response
Warehouse created successfully.
Child fields
Newly created warehouse ID.
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
Setup link selected for the requested BYOC VPC mode. Open this link to continue in the cloud provider console and launch the provisioning flow.
Documentation link for the selected BYOC setup path.
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.