Data
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
DELETE | |
POST | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST | |
POST | |
POST | |
POST | |
POST | |
GET | |
POST | |
GET |
List all data catalog certifications
Trust marks on warehouse tables and views. Reads exclude soft-deleted targets.
Required API key scopes
data_catalog:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /data_catalog /certificationsExample response
Status 200
Create data catalog certifications
Trust marks on warehouse tables and views. Reads exclude soft-deleted targets.
Required API key scopes
data_catalog:writeRequest parameters
- table_idstring
- saved_query_idstring
- table_namestring
- view_namestring
- notesstring
- proposed_statusDefault:
certified
Response
Example request
POST /api /projects /:project_id /data_catalog /certificationsExample response
Status 201
Retrieve data catalog certifications
Trust marks on warehouse tables and views. Reads exclude soft-deleted targets.
Required API key scopes
data_catalog:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /data_catalog /certifications /:idExample response
Status 200
Delete data catalog certifications
Trust marks on warehouse tables and views. Reads exclude soft-deleted targets.
Required API key scopes
data_catalog_approval:writedata_catalog:readPath parameters
- idstring
Example request
DELETE /api /projects /:project_id /data_catalog /certifications /:idExample response
Status 204 No response body
Create data catalog certifications certify
Mark the target as certified (prefer this source).
Required API key scopes
data_catalog_approval:writedata_catalog:readPath parameters
- idstring
Response
Example request
POST /api /projects /:project_id /data_catalog /certifications /:id /certifyExample response
Status 200
Create data catalog certifications deprecate
Mark the target as deprecated (avoid this source).
Required API key scopes
data_catalog_approval:writedata_catalog:readPath parameters
- idstring
Response
Example request
POST /api /projects /:project_id /data_catalog /certifications /:id /deprecateExample response
Status 200
List all data catalog metrics
CRUD for catalog metrics, addressed by their name (e.g. /metrics/mrr/).
Required API key scopes
data_catalog:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /data_catalog /metricsExample response
Status 200
Create data catalog metrics
Create a metric, or refine the one already holding this name for the team.
Required API key scopes
data_catalog:writeRequest parameters
- namestring
- display_namestring
- descriptionstring
- unitstring
- definitionobject | null
- source_insight_short_idstring | null
- created_source
- ai_modelstring
- confidencenumber | null
- reasoningstring
Response
Example request
POST /api /projects /:project_id /data_catalog /metricsExample response
Status 201
Retrieve data catalog metrics
CRUD for catalog metrics, addressed by their name (e.g. /metrics/mrr/).
Required API key scopes
data_catalog:readPath parameters
- namestring
Response
Example request
GET /api /projects /:project_id /data_catalog /metrics /:nameExample response
Status 200
Update data catalog metrics
CRUD for catalog metrics, addressed by their name (e.g. /metrics/mrr/).
Required API key scopes
data_catalog:writePath parameters
- namestring
Request parameters
- namestring
- display_namestring
- descriptionstring
- unitstring
- definitionobject | null
- source_insight_short_idstring | null
- created_source
- ai_modelstring
- confidencenumber | null
- reasoningstring
Response
Example request
PATCH /api /projects /:project_id /data_catalog /metrics /:nameExample response
Status 200
Delete data catalog metrics
CRUD for catalog metrics, addressed by their name (e.g. /metrics/mrr/).
Required API key scopes
data_catalog:writePath parameters
- namestring
Example request
DELETE /api /projects /:project_id /data_catalog /metrics /:nameExample response
Status 204 No response body
Create data catalog metrics approve
Bless a metric as canonical. Returns 409 while the metric is drifted from its insight.
Required API key scopes
data_catalog_approval:writedata_catalog:readPath parameters
- namestring
Response
Example request
POST /api /projects /:project_id /data_catalog /metrics /:name /approveExample response
Status 200
Create data catalog metrics refresh from insight
Re-snapshot the linked insight's current query into the definition.
Required API key scopes
data_catalog:writeinsight:readPath parameters
- namestring
Response
Example request
POST /api /projects /:project_id /data_catalog /metrics /:name /refresh_from_insightExample response
Status 200
Create data catalog metrics run
Execute the metric's definition and return the normalized result envelope.
Required API key scopes
data_catalog:readquery:readPath parameters
- namestring
Query parameters
- refreshstringOne of:
"blocking""async""lazy_async""force_blocking""force_async""force_cache"
Request parameters
- date_fromstring
- date_tostring
- interval
- query_idstring
Response
Example request
POST /api /projects /:project_id /data_catalog /metrics /:name /runExample response
Status 200 The normalized run envelope.
Status 400 The metric has no runnable definition, an override is invalid for its kind, or the query failed.
Status 429 Query rate limit or concurrency limit exceeded.
Status 500 Unexpected error while executing the query.
Create data catalog metrics bulk approve
Approve many metrics as canonical. Unknown, already-approved, and drifted metrics are skipped.
Required API key scopes
data_catalog_approval:writedata_catalog:readRequest parameters
- namesarray
Response
Example request
POST /api /projects /:project_id /data_catalog /metrics /bulk_approveExample response
Status 200
Create data catalog metrics bulk delete
Delete many metrics, freeing their names for reuse. Unknown metrics are skipped.
Required API key scopes
data_catalog:writeRequest parameters
- namesarray
Response
Example request
POST /api /projects /:project_id /data_catalog /metrics /bulk_deleteExample response
Status 200
List all data catalog relationship proposals
Reviewed join facts. Accepting one promotes it to a real DataWarehouseJoin; rejections persist.
Required API key scopes
data_catalog:readQuery parameters
- limitinteger
- offsetinteger
- statusstring
Response
Example request
GET /api /projects /:project_id /data_catalog /relationship_proposalsExample response
Status 200
Create data catalog relationship proposals
Reviewed join facts. Accepting one promotes it to a real DataWarehouseJoin; rejections persist.
Required API key scopes
data_catalog:writeRequest parameters
- source_table_namestring
- source_table_keystring
- joining_table_namestring
- joining_table_keystring
- field_namestring
- configuration
- confidencenumber | null
- reasoningstring
- evidence
Response
Example request
POST /api /projects /:project_id /data_catalog /relationship_proposalsExample response
Status 201
Retrieve data catalog relationship proposals
Reviewed join facts. Accepting one promotes it to a real DataWarehouseJoin; rejections persist.
Required API key scopes
data_catalog:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /data_catalog /relationship_proposals /:id