Asynchronous call to execute a task (maybe a learning or applying type). To track the health of running task - use GET /api/task/:task_id/state.
On success, schedules a task to run in kubernetes cluster.
{
"model_id": string,
"user_input_id": string,
}200
{
"result": "SUCCESS" | "ALREADY_RUNNING" | "FAILED"
}400
{
"error": string
}Check current state of task.
In future, we can get rid of STILL_RUNNING in favor of more concrete stage.
{
"state": "FINISHED" | "RUNNING" | "UNKNOWN"
}TODO