[[ml-api-quickref]] == API Quick Reference All {ml} endpoints have the following base: [source,js] ---- /_xpack/ml/ ---- The main {ml} resources can be accessed with a variety of endpoints: * <>: Create and manage {ml} jobs * <>: Select data from {es} to be analyzed * <>: Access the results of a {ml} job * <>: Manage model snapshots * <>: Validate subsections of job configurations [float] [[ml-api-jobs]] === /anomaly_detectors/ * {ref}/ml-put-job.html[PUT /anomaly_detectors/+++]: Create a job * {ref}/ml-open-job.html[POST /anomaly_detectors//_open]: Open a job * {ref}/ml-post-data.html[POST /anomaly_detectors//_data]: Send data to a job * {ref}/ml-get-job.html[GET /anomaly_detectors]: List jobs * {ref}/ml-get-job.html[GET /anomaly_detectors/+++]: Get job details * {ref}/ml-get-job-stats.html[GET /anomaly_detectors//_stats]: Get job statistics * {ref}/ml-update-job.html[POST /anomaly_detectors//_update]: Update certain properties of the job configuration * {ref}/ml-flush-job.html[POST anomaly_detectors//_flush]: Force a job to analyze buffered data * {ref}/ml-close-job.html[POST /anomaly_detectors//_close]: Close a job * {ref}/ml-delete-job.html[DELETE /anomaly_detectors/+++]: Delete a job [float] [[ml-api-datafeeds]] === /datafeeds/ * {ref}/ml-put-datafeed.html[PUT /datafeeds/+++]: Create a {dfeed} * {ref}/ml-start-datafeed.html[POST /datafeeds//_start]: Start a {dfeed} * {ref}/ml-get-datafeed.html[GET /datafeeds]: List {dfeeds} * {ref}/ml-get-datafeed.html[GET /datafeeds/+++]: Get {dfeed} details * {ref}/ml-get-datafeed-stats.html[GET /datafeeds//_stats]: Get statistical information for {dfeeds} * {ref}/ml-preview-datafeed.html[GET /datafeeds//_preview]: Get a preview of a {dfeed} * {ref}/ml-update-datafeed.html[POST /datafeeds//_update]: Update certain settings for a {dfeed} * {ref}/ml-stop-datafeed.html[POST /datafeeds//_stop]: Stop a {dfeed} * {ref}/ml-delete-datafeed.html[DELETE /datafeeds/+++]: Delete {dfeed} [float] [[ml-api-results]] === /results/ * {ref}/ml-get-bucket.html[GET /results/buckets]: List the buckets in the results * {ref}/ml-get-bucket.html[GET /results/buckets/+++]: Get bucket details * {ref}/ml-get-category.html[GET /results/categories]: List the categories in the results * {ref}/ml-get-category.html[GET /results/categories/+++]: Get category details * {ref}/ml-get-influencer.html[GET /results/influencers]: Get influencer details * {ref}/ml-get-record.html[GET /results/records]: Get records from the results [float] [[ml-api-snapshots]] === /model_snapshots/ * {ref}/ml-get-snapshot.html[GET /model_snapshots]: List model snapshots * {ref}/ml-get-snapshot.html[GET /model_snapshots/+++]: Get model snapshot details * {ref}/ml-revert-snapshot.html[POST /model_snapshots//_revert]: Revert a model snapshot * {ref}/ml-update-snapshot.html[POST /model_snapshots//_update]: Update certain settings for a model snapshot * {ref}/ml-delete-snapshot.html[DELETE /model_snapshots/+++]: Delete a model snapshot [float] [[ml-api-validate]] === /validate/ * {ref}/ml-valid-detector.html[POST /anomaly_detectors/_validate/detector]: Validate a detector * {ref}/ml-valid-job.html[POST /anomaly_detectors/_validate]: Validate a job