Data
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
GET | |
GET | |
DELETE | |
POST | |
GET | |
GET | |
GET | |
POST | |
GET | |
POST | |
POST | |
GET | |
GET | |
GET |
Retrieve data warehouse check database name
Check if a database name is available.
Query parameters
- namestring
Response
Example request
GET /api /projects /:project_id /data_warehouse /check-database-nameExample response
Status 200
Retrieve data warehouse check schema name
Check if a schema name is free within the organization's managed warehouse.
Query parameters
- namestring
Response
Example request
GET /api /projects /:project_id /data_warehouse /check-schema-nameExample response
Status 200
Retrieve data warehouse completed activity
Returns completed/non-running activities (jobs with status 'Completed'). Supports pagination and cutoff time filtering.
Example request
GET /api /projects /:project_id /data_warehouse /completed_activityExample response
Status 200 No response body
Retrieve data warehouse data health issues
Returns failed/disabled data pipeline items for the Pipeline status side panel. Includes: materializations, syncs, sources, destinations, and transformations.
Required API key scopes
warehouse_view:readexternal_data_source:readExample request
GET /api /projects /:project_id /data_warehouse /data_health_issuesExample response
Status 200 No response body
Retrieve data warehouse data ops dashboard
Returns the data ops overview dashboard ID for this team, creating it if it doesn't exist yet.
Required API key scopes
warehouse_view:writeExample request
GET /api /projects /:project_id /data_warehouse /data_ops_dashboardExample response
Status 200 No response body
Delete data warehouse delete org
Remove the organization's provisioning record after teardown, freeing its warehouse name.
Called once the warehouse status reports deleted: deprovision tears the warehouse
down, this removes the now-empty org row so the database_name can be reused. Restricted
to organization admins.
Required API key scopes
warehouse_view:writeResponse
Example request
DELETE /api /projects /:project_id /data_warehouse /delete-orgExample response
Status 200
Create data warehouse deprovision
Start deprovisioning the organization's managed warehouse. Restricted to organization admins.
Required API key scopes
warehouse_view:writeResponse
Example request
POST /api /projects /:project_id /data_warehouse /deprovisionExample response
Status 202
Retrieve data warehouse job stats
Returns success and failed job statistics for the last 1, 7, or 30 days. Query parameter 'days' can be 1, 7, or 30 (default: 7).
Example request
GET /api /projects /:project_id /data_warehouse /job_statsExample response
Status 200 No response body
Retrieve data warehouse managed warehouse data status
Get events, persons, and imported source readiness for the managed warehouse.
Required API key scopes
warehouse_view:readexternal_data_source:readResponse
Example request
GET /api /projects /:project_id /data_warehouse /managed-warehouse-data-statusExample response
Status 200
Retrieve data warehouse managed warehouse source schemas
Per-schema backfill and live import status for one source, for the Overview tab's drill-down modal — the main status endpoint only returns a per-source rollup.
Required API key scopes
warehouse_view:readexternal_data_source:readQuery parameters
- source_idstring
Response
Example request
GET /api /projects /:project_id /data_warehouse /managed-warehouse-source-schemasExample response
Status 200
Create data warehouse onboard team
Onboard this project onto the organization's existing managed warehouse.
Requires a schema name; records the project's membership both in duckgres and in the Django backfill state. Restricted to organization admins.
Required API key scopes
warehouse_view:writeRequest parameters
- schema_namestring
Response
Example request
POST /api /projects /:project_id /data_warehouse /onboard-teamExample response
Status 200
Retrieve data warehouse property values
API endpoints for data warehouse aggregate statistics and operations.
Required API key scopes
query:readExample request
GET /api /projects /:project_id /data_warehouse /property_valuesExample response
Status 200 No response body
Create data warehouse provision
Start provisioning a managed warehouse for this organization (shared by all its teams).
Required API key scopes
warehouse_view:writeRequest parameters
- database_namestring
- schema_namestring
Response
Example request
POST /api /projects /:project_id /data_warehouse /provisionExample response
Status 202
Create data warehouse reset password
Reset the root password for the managed warehouse.
Required API key scopes
warehouse_view:writeResponse
Example request
POST /api /projects /:project_id /data_warehouse /reset-passwordExample response
Status 200
Retrieve data warehouse running activity
Returns currently running activities (jobs with status 'Running'). Supports pagination and cutoff time filtering.
Example request
GET /api /projects /:project_id /data_warehouse /running_activityExample response
Status 200 No response body
Retrieve data warehouse total rows stats
Returns aggregated statistics for the data warehouse total rows processed within the current billing period. Used by the frontend data warehouse scene to display usage information.
Example request
GET /api /projects /:project_id /data_warehouse /total_rows_statsExample response
Status 200 No response body
Retrieve data warehouse warehouse status
Get the current provisioning status of the managed warehouse, with this project's onboarding state.
Response
Example request
GET /api /projects /:project_id /data_warehouse /warehouse_status