2017-06-19 21:23:58 -04:00
|
|
|
[role="xpack"]
|
2017-04-04 18:26:39 -04:00
|
|
|
[[ml-apis]]
|
|
|
|
== Machine Learning APIs
|
|
|
|
|
2017-06-27 16:42:11 -04:00
|
|
|
You can use the following APIs to perform {ml} activities.
|
|
|
|
See <<ml-api-definitions, Definitions>> for the resource definitions used by the
|
|
|
|
machine learning APIs and in advanced job configuration options in Kibana.
|
2017-04-04 18:26:39 -04:00
|
|
|
|
2017-12-20 16:52:58 -05:00
|
|
|
[float]
|
|
|
|
[[ml-api-calendar-endpoint]]
|
|
|
|
=== Calendars
|
|
|
|
|
|
|
|
* <<ml-put-calendar,Create calendar>>, <<ml-delete-calendar,Delete calendar>>
|
|
|
|
* <<ml-put-calendar-job,Add job to calendar>>, <<ml-delete-calendar-job,Delete job from calendar>>
|
|
|
|
* <<ml-get-calendar,Get calendars>>
|
|
|
|
|
2017-06-06 16:42:47 -04:00
|
|
|
[float]
|
2017-04-04 18:26:39 -04:00
|
|
|
[[ml-api-datafeed-endpoint]]
|
2017-05-02 15:45:42 -04:00
|
|
|
=== {dfeeds-cap}
|
2017-04-10 11:59:27 -04:00
|
|
|
|
2017-06-06 16:42:47 -04:00
|
|
|
* <<ml-put-datafeed,Create {dfeed}>>, <<ml-delete-datafeed,Delete {dfeed}>>
|
|
|
|
* <<ml-start-datafeed,Start {dfeed}>>, <<ml-stop-datafeed,Stop {dfeed}>>
|
|
|
|
* <<ml-get-datafeed,Get {dfeed} info>>, <<ml-get-datafeed-stats,Get {dfeed} statistics>>
|
2017-05-02 15:45:42 -04:00
|
|
|
* <<ml-preview-datafeed,Preview {dfeed}>>
|
|
|
|
* <<ml-update-datafeed,Update {dfeed}>>
|
2017-04-04 18:26:39 -04:00
|
|
|
|
|
|
|
|
2017-06-06 16:42:47 -04:00
|
|
|
|
|
|
|
[float]
|
2017-04-04 18:26:39 -04:00
|
|
|
[[ml-api-job-endpoint]]
|
|
|
|
=== Jobs
|
|
|
|
|
2017-06-23 11:55:31 -04:00
|
|
|
//* <<ml-valid-detector,Validate detectors>>, <<ml-valid-job,Validate job>>
|
2017-06-06 16:42:47 -04:00
|
|
|
* <<ml-put-job,Create job>>, <<ml-delete-job,Delete job>>
|
2017-12-20 16:52:58 -05:00
|
|
|
* <<ml-put-calendar-job,Add job to calendar>>, <<ml-delete-calendar-job,Delete job from calendar>>
|
2017-06-06 16:42:47 -04:00
|
|
|
* <<ml-open-job,Open job>>, <<ml-close-job,Close job>>
|
|
|
|
* <<ml-get-job,Get job info>>, <<ml-get-job-stats,Get job statistics>>
|
2017-04-27 13:51:48 -04:00
|
|
|
* <<ml-flush-job,Flush job>>
|
|
|
|
* <<ml-post-data,Post data to job>>
|
|
|
|
* <<ml-update-job,Update job>>
|
2017-11-23 14:52:37 -05:00
|
|
|
* <<ml-forecast,Forecast job behavior>>
|
2017-04-04 18:26:39 -04:00
|
|
|
|
2017-06-06 16:42:47 -04:00
|
|
|
[float]
|
2017-04-04 18:26:39 -04:00
|
|
|
[[ml-api-snapshot-endpoint]]
|
|
|
|
=== Model Snapshots
|
|
|
|
|
2017-04-27 13:51:48 -04:00
|
|
|
* <<ml-delete-snapshot,Delete model snapshot>>
|
|
|
|
* <<ml-get-snapshot,Get model snapshot info>>
|
|
|
|
* <<ml-revert-snapshot,Revert model snapshot>>
|
|
|
|
* <<ml-update-snapshot,Update model snapshot>>
|
2017-04-11 16:25:38 -04:00
|
|
|
|
2017-04-04 18:26:39 -04:00
|
|
|
|
2017-06-06 16:42:47 -04:00
|
|
|
[float]
|
2017-04-04 18:26:39 -04:00
|
|
|
[[ml-api-result-endpoint]]
|
|
|
|
=== Results
|
|
|
|
|
2017-04-10 19:14:26 -04:00
|
|
|
* <<ml-get-bucket,Get buckets>>
|
2017-10-10 09:41:24 -04:00
|
|
|
* <<ml-get-overall-buckets,Get overall buckets>>
|
2017-04-10 19:14:26 -04:00
|
|
|
* <<ml-get-category,Get categories>>
|
|
|
|
* <<ml-get-influencer,Get influencers>>
|
|
|
|
* <<ml-get-record,Get records>>
|
|
|
|
|
2017-12-20 16:52:58 -05:00
|
|
|
//ADD
|
|
|
|
include::ml/put-calendar-job.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//CLOSE
|
|
|
|
include::ml/close-job.asciidoc[]
|
|
|
|
//CREATE
|
2017-12-20 16:52:58 -05:00
|
|
|
include::ml/put-calendar.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
include::ml/put-datafeed.asciidoc[]
|
|
|
|
include::ml/put-job.asciidoc[]
|
|
|
|
//DELETE
|
2017-12-20 16:52:58 -05:00
|
|
|
include::ml/delete-calendar.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
include::ml/delete-datafeed.asciidoc[]
|
|
|
|
include::ml/delete-job.asciidoc[]
|
2017-12-20 16:52:58 -05:00
|
|
|
include::ml/delete-calendar-job.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
include::ml/delete-snapshot.asciidoc[]
|
|
|
|
//FLUSH
|
|
|
|
include::ml/flush-job.asciidoc[]
|
2017-11-23 14:52:37 -05:00
|
|
|
//FORECAST
|
|
|
|
include::ml/forecast.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//GET
|
2017-12-20 16:52:58 -05:00
|
|
|
include::ml/get-calendar.asciidoc[]
|
2017-04-04 18:26:39 -04:00
|
|
|
include::ml/get-bucket.asciidoc[]
|
2017-10-10 09:41:24 -04:00
|
|
|
include::ml/get-overall-buckets.asciidoc[]
|
2017-04-04 18:26:39 -04:00
|
|
|
include::ml/get-category.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
include::ml/get-datafeed.asciidoc[]
|
|
|
|
include::ml/get-datafeed-stats.asciidoc[]
|
2017-04-04 18:26:39 -04:00
|
|
|
include::ml/get-influencer.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
include::ml/get-job.asciidoc[]
|
|
|
|
include::ml/get-job-stats.asciidoc[]
|
|
|
|
include::ml/get-snapshot.asciidoc[]
|
2017-04-04 18:26:39 -04:00
|
|
|
include::ml/get-record.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//OPEN
|
|
|
|
include::ml/open-job.asciidoc[]
|
|
|
|
//POST
|
|
|
|
include::ml/post-data.asciidoc[]
|
|
|
|
//PREVIEW
|
|
|
|
include::ml/preview-datafeed.asciidoc[]
|
|
|
|
//REVERT
|
|
|
|
include::ml/revert-snapshot.asciidoc[]
|
|
|
|
//START/STOP
|
|
|
|
include::ml/start-datafeed.asciidoc[]
|
|
|
|
include::ml/stop-datafeed.asciidoc[]
|
|
|
|
//UPDATE
|
|
|
|
include::ml/update-datafeed.asciidoc[]
|
|
|
|
include::ml/update-job.asciidoc[]
|
|
|
|
include::ml/update-snapshot.asciidoc[]
|
|
|
|
//VALIDATE
|
2017-06-23 11:55:31 -04:00
|
|
|
//include::ml/validate-detector.asciidoc[]
|
|
|
|
//include::ml/validate-job.asciidoc[]
|