Check the events behind an insight for the common ways they mislead: internal and test users, local development traffic, bots and crawlers, and events sent twice. Works for trends, funnels, stickiness and lifecycle insights whose series are events. The checks apply the insight's own filters, and read the newest days of its date range, up to 7. The bot and duplicate checks read a sample of those days. For a token, the internal users check matches the emails of the organization's members only with the organization_member:read scope, and its verified domains only with organization:read. It names the emails it finds only with person:read. Nothing is stored. This route runs the query it is sent, so it needs query access as well as insight access. To check a saved insight by its id, send a GET request to insights/{id}/data_checks/.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/insights/data_checks/
- Auth: HTTP bearer
Path parameters
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
Request body
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 request property
- warning
- info
added to the
/////request propertyanyOflist
- info