Train Model APIedit

To start a training job for a given model you must specify a date range in the url parameters. The from and to parameters support Date Mathedit format and operations.

POST /models/cpu_and_mem-model/_train?from=<range_start>&to=<range_end>

On success, it will return a job identifier.

* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Content-Type: application/json
< Content-Length: 39
< Server: Werkzeug/0.12.2 Python/3.4.5
< Date: Fri, 26 Jan 2018 22:39:30 GMT
<
"624e7ab7-2a87-44b3-9d2f-ddf6bace84d7"
Note

The _train command starts an asynchronous job in the background. The current status for this job can be obtained by polling the Jobs API API.