2017-06-19 21:23:58 -04:00
|
|
|
[role="xpack"]
|
2018-08-31 19:49:24 -04:00
|
|
|
[testenv="platinum"]
|
2017-04-04 18:26:39 -04:00
|
|
|
[[ml-apis]]
|
2019-07-16 16:22:27 -04:00
|
|
|
== {ml-cap} {anomaly-detect} APIs
|
2017-04-04 18:26:39 -04:00
|
|
|
|
2019-12-26 07:49:41 -05:00
|
|
|
You can use the following APIs to perform {ml} {anomaly-detect} activities.
|
2017-04-04 18:26:39 -04:00
|
|
|
|
2019-07-16 16:22:27 -04:00
|
|
|
See also <<ml-df-analytics-apis>>.
|
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
|
|
|
[[ml-api-anomaly-job-endpoint]]
|
|
|
|
=== {anomaly-jobs-cap}
|
|
|
|
//* <<ml-valid-detector,Validate detectors>>, <<ml-valid-job,Validate job>>
|
|
|
|
* <<ml-put-job,Create>> or <<ml-delete-job,delete {anomaly-jobs}>>
|
|
|
|
* <<ml-put-calendar-job,Add>> or <<ml-delete-calendar-job,delete a {anomaly-job} from a calendar>>
|
|
|
|
* <<ml-open-job,Open>> or <<ml-close-job,close {anomaly-jobs}>>
|
|
|
|
* <<ml-get-job,Get {anomaly-jobs} info>> or <<ml-get-job-stats,statistics>>
|
|
|
|
* <<ml-flush-job,Flush {anomaly-jobs}>>
|
|
|
|
* <<ml-post-data,Post data to {anomaly-jobs}>>
|
|
|
|
* <<ml-update-job,Update {anomaly-jobs}>>
|
|
|
|
* <<ml-forecast,Create>> or <<ml-delete-forecast,delete forecasts>>
|
|
|
|
|
|
|
|
|
|
|
|
[discrete]
|
2017-12-20 16:52:58 -05:00
|
|
|
[[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>>
|
2018-01-24 11:14:23 -05:00
|
|
|
* <<ml-post-calendar-event,Add scheduled events to calendar>>, <<ml-delete-calendar-event,Delete scheduled events from calendar>>
|
|
|
|
* <<ml-get-calendar,Get calendars>>, <<ml-get-calendar-event,Get scheduled events>>
|
2017-12-20 16:52:58 -05:00
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
2018-07-25 11:10:32 -04:00
|
|
|
[[ml-api-filter-endpoint]]
|
|
|
|
=== Filters
|
|
|
|
|
|
|
|
* <<ml-put-filter,Create filter>>, <<ml-delete-filter,Delete filter>>
|
|
|
|
* <<ml-update-filter,Update filters>>
|
|
|
|
* <<ml-get-filter,Get filters>>
|
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
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
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
2017-04-04 18:26:39 -04:00
|
|
|
[[ml-api-job-endpoint]]
|
|
|
|
=== Jobs
|
|
|
|
|
2019-07-16 16:22:27 -04:00
|
|
|
See <<ml-api-anomaly-job-endpoint>>.
|
2019-07-08 14:43:18 -04:00
|
|
|
|
|
|
|
[discrete]
|
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
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
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>>
|
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
2018-09-20 07:17:09 -04:00
|
|
|
[[ml-api-file-structure-endpoint]]
|
2019-01-30 07:51:11 -05:00
|
|
|
=== File structure
|
2018-09-20 07:17:09 -04:00
|
|
|
|
|
|
|
* <<ml-find-file-structure,Find file structure>>
|
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
2018-11-22 11:23:31 -05:00
|
|
|
[[ml-api-ml-info-endpoint]]
|
|
|
|
=== Info
|
|
|
|
|
|
|
|
* <<get-ml-info,Machine learning info>>
|
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
2018-11-26 11:15:54 -05:00
|
|
|
[[ml-api-delete-expired-data-endpoint]]
|
2019-01-30 07:51:11 -05:00
|
|
|
=== Delete expired data
|
2018-11-26 11:15:54 -05:00
|
|
|
|
|
|
|
* <<ml-delete-expired-data,Delete expired data>>
|
|
|
|
|
2019-07-08 14:43:18 -04:00
|
|
|
[discrete]
|
2019-01-30 07:51:11 -05:00
|
|
|
[[ml-set-upgrade-mode-endpoint]]
|
|
|
|
=== Set upgrade mode
|
|
|
|
|
|
|
|
* <<ml-set-upgrade-mode, Set upgrade mode>>
|
|
|
|
|
2017-12-20 16:52:58 -05:00
|
|
|
//ADD
|
2018-08-31 19:49:24 -04:00
|
|
|
include::post-calendar-event.asciidoc[]
|
|
|
|
include::put-calendar-job.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//CLOSE
|
2018-08-31 19:49:24 -04:00
|
|
|
include::close-job.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//CREATE
|
2019-07-08 14:43:18 -04:00
|
|
|
include::put-job.asciidoc[]
|
2018-08-31 19:49:24 -04:00
|
|
|
include::put-calendar.asciidoc[]
|
|
|
|
include::put-datafeed.asciidoc[]
|
|
|
|
include::put-filter.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//DELETE
|
2018-08-31 19:49:24 -04:00
|
|
|
include::delete-calendar.asciidoc[]
|
|
|
|
include::delete-datafeed.asciidoc[]
|
|
|
|
include::delete-calendar-event.asciidoc[]
|
|
|
|
include::delete-filter.asciidoc[]
|
2018-09-06 12:20:42 -04:00
|
|
|
include::delete-forecast.asciidoc[]
|
2018-08-31 19:49:24 -04:00
|
|
|
include::delete-job.asciidoc[]
|
|
|
|
include::delete-calendar-job.asciidoc[]
|
|
|
|
include::delete-snapshot.asciidoc[]
|
2018-11-26 11:15:54 -05:00
|
|
|
include::delete-expired-data.asciidoc[]
|
2020-03-24 18:55:11 -04:00
|
|
|
//ESTIMATE
|
|
|
|
include::estimate-model-memory.asciidoc[]
|
2018-09-20 07:17:09 -04:00
|
|
|
//FIND
|
|
|
|
include::find-file-structure.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//FLUSH
|
2018-08-31 19:49:24 -04:00
|
|
|
include::flush-job.asciidoc[]
|
2017-11-23 14:52:37 -05:00
|
|
|
//FORECAST
|
2018-08-31 19:49:24 -04:00
|
|
|
include::forecast.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//GET
|
2018-08-31 19:49:24 -04:00
|
|
|
include::get-bucket.asciidoc[]
|
2019-07-10 20:58:17 -04:00
|
|
|
include::get-calendar.asciidoc[]
|
2018-08-31 19:49:24 -04:00
|
|
|
include::get-category.asciidoc[]
|
|
|
|
include::get-datafeed.asciidoc[]
|
|
|
|
include::get-datafeed-stats.asciidoc[]
|
|
|
|
include::get-influencer.asciidoc[]
|
|
|
|
include::get-job.asciidoc[]
|
|
|
|
include::get-job-stats.asciidoc[]
|
2018-11-22 11:23:31 -05:00
|
|
|
include::get-ml-info.asciidoc[]
|
2018-08-31 19:49:24 -04:00
|
|
|
include::get-snapshot.asciidoc[]
|
2019-07-10 20:58:17 -04:00
|
|
|
include::get-overall-buckets.asciidoc[]
|
2018-08-31 19:49:24 -04:00
|
|
|
include::get-calendar-event.asciidoc[]
|
|
|
|
include::get-filter.asciidoc[]
|
|
|
|
include::get-record.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//OPEN
|
2018-08-31 19:49:24 -04:00
|
|
|
include::open-job.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//POST
|
2018-08-31 19:49:24 -04:00
|
|
|
include::post-data.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//PREVIEW
|
2018-08-31 19:49:24 -04:00
|
|
|
include::preview-datafeed.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//REVERT
|
2018-08-31 19:49:24 -04:00
|
|
|
include::revert-snapshot.asciidoc[]
|
2019-01-30 07:51:11 -05:00
|
|
|
//SET/START/STOP
|
|
|
|
include::set-upgrade-mode.asciidoc[]
|
2018-08-31 19:49:24 -04:00
|
|
|
include::start-datafeed.asciidoc[]
|
|
|
|
include::stop-datafeed.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//UPDATE
|
2018-08-31 19:49:24 -04:00
|
|
|
include::update-datafeed.asciidoc[]
|
|
|
|
include::update-filter.asciidoc[]
|
|
|
|
include::update-job.asciidoc[]
|
|
|
|
include::update-snapshot.asciidoc[]
|
2017-06-06 16:42:47 -04:00
|
|
|
//VALIDATE
|
2018-08-31 19:49:24 -04:00
|
|
|
//include::validate-detector.asciidoc[]
|
|
|
|
//include::validate-job.asciidoc[]
|
2018-09-20 07:17:09 -04:00
|
|
|
|