autoresearch
autoresearch
Validate a pipeline definition
Validate a proposed pipeline's target event and population before creating it. Returns volume estimates, base rate, and any warnings. Creation does not enforce the result: 'horizon_exceeds_lookback' and an 'error' 'population_too_large' mean a run would fail, and the other 'error' codes mean the data is too thin for a reliable model. Call this before autoresearch-create.
post/api/projects/{project_id}/autoresearch/validate/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/autoresearch/validate/
- Auth: HTTP bearer
Path parameters
project_idstring required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request body
Example request
{
"training_population": {
"properties": [
{
"key": "email",
"type": "person",
"operator": "is_set"
}
]
},
"inference_population": {
"properties": [
{
"key": "email",
"type": "person",
"operator": "is_set"
}
]
}
}Response
Validation result with volume estimates, base rate, and warnings.
Changes
No recorded changes to this operation across all 1 revision of this API.