Define a loop
Data Intelligence → Loop → New Loop.
- Name the loop.
- Choose classification or regression.
- Add the input fields. Each field has a name and a type:
string,integer,float,boolean,array, orobject. - Add exactly one output field. That name is the key you will read from a prediction and the key you will send back on train.
Save. The page URL is /loop/{id}. That id is x-loop-id on later calls.
The loop does not learn from predict calls. When you know the outcome, POST it to /train/. Until that call succeeds, the model is unchanged.