Run the data checks on a saved insight, found by its numeric id or its short_id. The checks read the query the insight stores, and work the same way as the checks on a query that is not saved. The status is unsupported for an insight that still stores legacy filters and no query. Nothing is stored.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/insights/{id}/data_checks/
- Auth: HTTP bearer
Path parameters
Numeric primary key or 8-character short_id (for example AaVQ8Ijw) identifying the insight.
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
quick, the default, reads within a small budget so the checks can run on every load. On an insight they would read a lot of data for, a quick check does not run and status is on_request. full runs the checks with the same limits as the insight's own query.
- quick - Read within a small budget, so the checks can run on every load
- full - Read with the same limits as the insight's own query
Response
The result of every check.
Changes
- warning
added the new
on_requestenum value to the//////response property for the response status (media type: application/json) - warning
added the new
on_requestenum value to the//////response property for the response status (media type: text/csv) - warning
added the new
on_requestenum value to the////response property for the response status (media type: application/json) - warning
added the new
on_requestenum value to the////response property for the response status (media type: text/csv) - warning
added the new
partialenum value to the////response property for the response status (media type: application/json) - warning
added the new
partialenum value to the////response property for the response status (media type: text/csv) - info
added the new optional
queryrequest parameterdepth
- warning
- info
added the required property
//to the response with the status (media type: application/json) - info
added the required property
//to the response with the status (media type: text/csv) - info
added the required property
//to the response with the status (media type: application/json) - info
added the required property
//to the response with the status (media type: text/csv) - info
added the required property
//to the response with the status (media type: application/json) - info
added the required property
//to the response with the status (media type: text/csv) - info
added the required property
//to the response with the status (media type: application/json) - info
added the required property
//to the response with the status (media type: text/csv) - info
added the required property
//to the response with the status (media type: application/json) - info
added the required property
//to the response with the status (media type: text/csv) - info
added the required property
//to the response with the status (media type: application/json) - info
added the required property
//to the response with the status (media type: text/csv) - info
added the required property
//to the response with the status (media type: application/json) - info
added the required property
//to the response with the status (media type: text/csv)
- info