Start a training run
Start an asynchronous training run for this pipeline. Creates a Task/TaskRun sandbox where the autoresearch agent iterates on features and models, and returns the run immediately with status 'running'. Poll the training run until it reaches a terminal status (completed or failed). A pipeline's first run has no champion until it completes and promotion runs; on a retrain the existing champion stays live and keeps scoring until a new one is promoted.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/autoresearch/{id}/train/
- Auth: HTTP bearer
Path parameters
A UUID string identifying this autoresearch pipeline.
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
Response
The created training run. Poll it through the training runs endpoint.
Example response
{
"iterations": [
{
"model_spec": {
"model_class": "sklearn.linear_model.LogisticRegression",
"model_params": {
"C": 1
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.