API Reference
Use the Management API to manage VeloDB Cloud resources from your own tools. Select an operation to see its parameters, copy a request in your preferred language, or send it from Try it with your own API key.
Make your first request
Create an API key with access to the resources you want to manage. Set VELODB_API_KEY to your key, then list the warehouses visible to its role.
curl --request GET 'https://api.velodb.cloud/v1/warehouses?page=1&size=20' \
--header "X-API-Key: $VELODB_API_KEY"
View the list warehouses operation for filters and the response format.
Authentication and limits
- Send your API key in the
X-API-Keyheader. The key's organization role determines which resources you can access. API key management and audit log queries requireOrganizationAdmin. Billing queries requireOrganizationAdminorOrganizationBilling. - For write operations, send a unique
RequestIdheader. Reuse it only when retrying the same request with identical parameters and body. A duplicate request that is still processing can return202 Accepted. - The per-organization rate limits are 100 read requests and 40 write requests per minute.
Organizations
Organization profile and account configuration for the authenticated organization.
| Operation | Method | Path |
|---|---|---|
| Get organization profile | GET | /v1/organization |
Cloud Providers
Cloud provider and region discovery for Warehouse and PrivateLink provisioning.
| Operation | Method | Path |
|---|---|---|
| List supported cloud providers | GET | /v1/cloud-providers |
| List supported regions for a cloud provider | GET | /v1/cloud-providers/{cloudProvider}/regions |
Cloud Settings
AWS credential, network, and encryption key configurations for advanced BYOC warehouse provisioning.
Create credential and network configurations before calling POST /v1/warehouses with deploymentMode=BYOC, cloudProvider=aws, and setupMode=advanced, then pass the returned credentialId and networkConfigId. Optionally pass encryption key configuration IDs as tdeEncryptionKeyId and ebsEncryptionKeyId.
| Operation | Method | Path |
|---|---|---|
| List credential configurations | GET | /v1/cloud-settings/{cloudProvider}/credentials |
| Create credential configuration | POST | /v1/cloud-settings/{cloudProvider}/credentials |
| List network configurations | GET | /v1/cloud-settings/{cloudProvider}/network-configs |
| Create network configuration | POST | /v1/cloud-settings/{cloudProvider}/network-configs |
| Get credential configuration | GET | /v1/cloud-settings/{cloudProvider}/credentials/{credentialId} |
| Delete credential configuration | DELETE | /v1/cloud-settings/{cloudProvider}/credentials/{credentialId} |
| Get network configuration | GET | /v1/cloud-settings/{cloudProvider}/network-configs/{networkConfigId} |
| Delete network configuration | DELETE | /v1/cloud-settings/{cloudProvider}/network-configs/{networkConfigId} |
| List encryption key configurations | GET | /v1/cloud-settings/{cloudProvider}/encryption-keys |
| Create encryption key configuration | POST | /v1/cloud-settings/{cloudProvider}/encryption-keys |
| Get encryption key configuration | GET | /v1/cloud-settings/{cloudProvider}/encryption-keys/{encryptionKeyId} |
| Delete encryption key configuration | DELETE | /v1/cloud-settings/{cloudProvider}/encryption-keys/{encryptionKeyId} |
Warehouses
Warehouse lifecycle, settings, and creation workflows.
| Operation | Method | Path |
|---|---|---|
| List warehouses | GET | /v1/warehouses |
| Create a warehouse | POST | /v1/warehouses |
| Get a warehouse | GET | /v1/warehouses/{warehouseId} |
| Update a warehouse | PATCH | /v1/warehouses/{warehouseId} |
| Delete a warehouse | DELETE | /v1/warehouses/{warehouseId} |
| List warehouse upgrade versions | GET | /v1/warehouses/{warehouseId}/versions |
| Upgrade a warehouse | POST | /v1/warehouses/{warehouseId}/settings/upgrade |
| Change the warehouse password | POST | /v1/warehouses/{warehouseId}/settings/password |
Clusters
Cluster lifecycle, scaling, and billing operations within a Warehouse.
| Operation | Method | Path |
|---|---|---|
| List clusters in a warehouse | GET | /v1/warehouses/{warehouseId}/clusters |
| Create a cluster | POST | /v1/warehouses/{warehouseId}/clusters |
| Get a cluster | GET | /v1/warehouses/{warehouseId}/clusters/{clusterId} |
| Update a cluster | PATCH | /v1/warehouses/{warehouseId}/clusters/{clusterId} |
| Delete a cluster | DELETE | /v1/warehouses/{warehouseId}/clusters/{clusterId} |
| Pause a cluster | POST | /v1/warehouses/{warehouseId}/clusters/{clusterId}/pause |
| Resume a cluster | POST | /v1/warehouses/{warehouseId}/clusters/{clusterId}/resume |
| Reboot a cluster | POST | /v1/warehouses/{warehouseId}/clusters/{clusterId}/reboot |
Connections
Connectivity, including SQL and HTTP endpoints, public access controls, and PrivateLink connections.
| Operation | Method | Path |
|---|---|---|
| Get warehouse connections | GET | /v1/warehouses/{warehouseId}/connections |
| Get warehouse public access policy | GET | /v1/warehouses/{warehouseId}/connections/public/access-policy |
| Update warehouse public access policy | PATCH | /v1/warehouses/{warehouseId}/connections/public/access-policy |
Private Link
Endpoint service registration and endpoint management.
| Operation | Method | Path |
|---|---|---|
| Register warehouse private endpoint | POST | /v1/private-link/warehouses/{warehouseId}/endpoints |
| List reverse endpoint services | GET | /v1/private-link/endpoint-services |
| Register reverse endpoint service | POST | /v1/private-link/endpoint-services |
| Delete reverse endpoint service registration | DELETE | /v1/private-link/endpoint-services/{endpointServiceId} |
Billing
Billing summaries, billing details, and usage views for the authenticated organization.
| Operation | Method | Path |
|---|---|---|
| List billing summaries | GET | /v1/billing/summaries |
| List billing detail records | GET | /v1/billing/details |
API Keys
API Key lifecycle management for the authenticated organization.
| Operation | Method | Path |
|---|---|---|
| List API Keys | GET | /v1/api-keys |
| Create an API Key | POST | /v1/api-keys |
| Update API Key metadata | PATCH | /v1/api-keys/{keyId} |
| Delete an API Key | DELETE | /v1/api-keys/{keyId} |
| Enable or disable an API Key | PATCH | /v1/api-keys/{keyId}/status |
Roles
Built-in and custom role management for the authenticated organization.
| Operation | Method | Path |
|---|---|---|
| List roles | GET | /v1/roles |
| Create a custom role | POST | /v1/roles |
| Get a role | GET | /v1/roles/{roleId} |
| Update a custom role | PUT | /v1/roles/{roleId} |
| Delete a custom role | DELETE | /v1/roles/{roleId} |
Audit
Audit log queries scoped to the authenticated organization.
| Operation | Method | Path |
|---|---|---|
| List audit logs | GET | /v1/audit-logs |