Data Quality
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
GET |
List all data quality runs
Every check-suite run in the project, newest first. Narrow it to one subject with subject_type and subject_uuid.
Required API key scopes
query:readQuery parameters
- limitinteger
- offsetinteger
- subject_typestringOne of:
"metric""posthog_table""table""view" - subject_uuidstring
Response
Example request
GET /api /projects /:project_id /data_quality_runsExample response
Status 200
RESPONSE
Create data quality runs
Run checks now: the ones named by check_ids, every enabled check on the subject named by subject_type and subject_uuid, or every enabled check in the project when neither is given. Returns the suite run to poll for the report.
Required API key scopes
query:readRequest parameters
- check_idsarray
- subject_type
- subject_uuidstring
Response
Example request
POST /api /projects /:project_id /data_quality_runsExample response
Status 200
RESPONSE
Retrieve data quality runs
Check-suite executions: start one over a selection, and read every run the project has had.
A suite run may sweep several subjects at once -- a manual project-wide run, a materialization, a source sync -- so it is reported here rather than under any one of them.
Required API key scopes
query:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /data_quality_runs /:idExample response
Status 200
RESPONSE
List all data quality runs check runs
Every check execution in this suite run.
Required API key scopes
query:readPath parameters
- idstring
Example request
GET /api /projects /:project_id /data_quality_runs /:id /check_runsExample response
Status 200
RESPONSE