Elastic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Elasticsearch ml anomaly API

71 actions 71 updates phrasing extends openapi/elastic-ml-anomaly-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Elastic's API. It is a proposal applied on top of the contract, not a document Elastic publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 71 · first 16 shown; the file carries all of them

$.info
$.paths['/_ml/anomaly_detectors/{job_id}/_close'].post
$.paths['/_ml/calendars/{calendar_id}'].get
$.paths['/_ml/calendars/{calendar_id}'].put
$.paths['/_ml/calendars/{calendar_id}'].post
$.paths['/_ml/calendars/{calendar_id}'].delete
$.paths['/_ml/calendars/{calendar_id}/events/{event_id}'].delete
$.paths['/_ml/calendars/{calendar_id}/jobs/{job_id}'].put
$.paths['/_ml/calendars/{calendar_id}/jobs/{job_id}'].delete
$.paths['/_ml/datafeeds/{datafeed_id}'].get
$.paths['/_ml/datafeeds/{datafeed_id}'].put
$.paths['/_ml/datafeeds/{datafeed_id}'].delete
$.paths['/_ml/_delete_expired_data/{job_id}'].delete
$.paths['/_ml/_delete_expired_data'].delete
$.paths['/_ml/filters/{filter_id}'].get
$.paths['/_ml/filters/{filter_id}'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Elasticsearch ml anomaly API
  version: 1.0.0
extends: openapi/elastic-ml-anomaly-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 70
- target: $.paths['/_ml/anomaly_detectors/{job_id}/_close'].post
  update:
    x-apievangelist-phrasing:
      intent: Close an anomaly detection job
      effect: write
      questions:
      - What happens to an anomaly detection job's model state when I close it?
      - Can I force-close a job that is stuck or failed?
      instructions:
      - text: Close anomaly detection job {job}.
        slots:
          job: path.job_id
      - text: Force-close job {job} right away.
        slots:
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one ML calendar's configuration
      effect: read
      questions:
      - What jobs and settings does a specific ML calendar have?
      - Where can I look up a single scheduling calendar by its ID?
      instructions:
      - text: Show me the configuration of ML calendar {calendar}.
        slots:
          calendar: path.calendar_id
      - text: Get calendar {calendar} details.
        slots:
          calendar: path.calendar_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create an ML calendar
      effect: write
      questions:
      - Can I make a calendar of planned outages so anomaly jobs ignore them?
      - Which jobs can I attach when creating a new ML calendar?
      instructions:
      - text: Create ML calendar {calendar} for jobs {jobs}.
        slots:
          calendar: path.calendar_id
          jobs: requestBody.job_ids
      - text: Create calendar {calendar} described as {description}.
        slots:
          calendar: path.calendar_id
          description: requestBody.description
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get one ML calendar using a request body
      effect: read
      questions:
      - Can I page through a specific calendar's info with a POST body instead of query params?
      - Is there a POST form of the single-calendar lookup?
      instructions:
      - text: Fetch calendar {calendar} via the POST lookup with paging in the body.
        slots:
          calendar: path.calendar_id
      - text: Post a request for ML calendar {calendar} configuration.
        slots:
          calendar: path.calendar_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an ML calendar
      effect: destructive
      questions:
      - Does deleting an ML calendar remove its scheduled events too?
      - What happens to jobs assigned to a calendar I delete?
      instructions:
      - text: Delete ML calendar {calendar}.
        slots:
          calendar: path.calendar_id
      - text: Remove calendar {calendar} and its scheduled events.
        slots:
          calendar: path.calendar_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}/events/{event_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a scheduled event from a calendar
      effect: destructive
      questions:
      - How do I remove one scheduled event from an ML calendar?
      - Can I delete a single maintenance window without deleting the calendar?
      instructions:
      - text: Delete event {event} from calendar {calendar}.
        slots:
          calendar: path.calendar_id
          event: path.event_id
      - text: Remove scheduled event {event} in ML calendar {calendar}.
        slots:
          calendar: path.calendar_id
          event: path.event_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}/jobs/{job_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add an anomaly job to a calendar
      effect: write
      questions:
      - Can I assign an existing anomaly detection job to a calendar?
      - How do I make a job honor a calendar's scheduled events?
      instructions:
      - text: Add job {job} to calendar {calendar}.
        slots:
          calendar: path.calendar_id
          job: path.job_id
      - text: Assign anomaly detection job {job} to ML calendar {calendar}.
        slots:
          calendar: path.calendar_id
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}/jobs/{job_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove an anomaly job from a calendar
      effect: destructive
      questions:
      - Can I detach a job from a calendar without deleting the calendar?
      - What's the way to stop a job using a calendar's events?
      instructions:
      - text: Remove job {job} from calendar {calendar}.
        slots:
          calendar: path.calendar_id
          job: path.job_id
      - text: Unassign anomaly job {job} from ML calendar {calendar}.
        slots:
          calendar: path.calendar_id
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/datafeeds/{datafeed_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a datafeed's configuration
      effect: read
      questions:
      - What indices and query does a specific datafeed use?
      - Can I fetch a datafeed's config without generated fields so I can clone it?
      instructions:
      - text: Show the configuration of datafeed {datafeed}.
        slots:
          datafeed: path.datafeed_id
      - text: Get datafeed {datafeed} config excluding generated fields.
        slots:
          datafeed: path.datafeed_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/datafeeds/{datafeed_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create a datafeed for an anomaly job
      effect: write
      questions:
      - How do I feed index data into an anomaly detection job?
      - Which indices and query can a new datafeed pull from?
      instructions:
      - text: Create datafeed {datafeed} for job {job} reading from {indices}.
        slots:
          datafeed: path.datafeed_id
          job: requestBody.job_id
          indices: requestBody.indices
      - text: Set up datafeed {datafeed} with query {query}.
        slots:
          datafeed: path.datafeed_id
          query: requestBody.query
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/datafeeds/{datafeed_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a datafeed
      effect: destructive
      questions:
      - Do I have to stop a datafeed before I can delete it?
      - Can I force-delete a datafeed that is still started?
      instructions:
      - text: Delete datafeed {datafeed}.
        slots:
          datafeed: path.datafeed_id
      - text: Force-delete started datafeed {datafeed}.
        slots:
          datafeed: path.datafeed_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/_delete_expired_data/{job_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete expired ML data for a job
      effect: destructive
      questions:
      - Can I purge expired results and snapshots for just one anomaly job?
      - How do I clean old ML data for a specific job with a throttle?
      instructions:
      - text: Delete expired ML data for job {job}.
        slots:
          job: path.job_id
      - text: Purge expired data for job {job} at {rps} requests per second.
        slots:
          job: path.job_id
          rps: query.requests_per_second
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/_delete_expired_data'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete expired ML data for all jobs
      effect: destructive
      questions:
      - How do I clean up expired ML results and snapshots across every job?
      - Is there a timeout for the cluster-wide expired data cleanup?
      instructions:
      - text: Delete expired machine learning data across all jobs.
      - text: Run the all-jobs expired data cleanup with a timeout of {timeout}.
        slots:
          timeout: query.timeout
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/filters/{filter_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an ML filter
      effect: read
      questions:
      - What items are in a specific ML filter list?
      - Can I look up one detector filter by its ID?
      instructions:
      - text: Show ML filter {filter}.
        slots:
          filter: path.filter_id
      - text: Get the items in filter {filter}.
        slots:
          filter: path.filter_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/filters/{filter_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create an ML filter
      effect: write
      questions:
      - Can I create a list of values to use in detector custom rules?
      - How do I make a safe-list of hosts for anomaly rules?
      instructions:
      - text: Create ML filter {filter} with items {items}.
        slots:
          filter: path.filter_id
          items: requestBody.items
      - text: Create filter {filter} described as {description}.
        slots:
          filter: path.filter_id
          description: requestBody.description
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/filters/{filter_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an ML filter
      effect: destructive
      questions:
      - Can I delete a filter that a job's custom rule still uses?
      - What's required to remove an ML filter list?
      instructions:
      - text: Delete ML filter {filter}.
        slots:
          filter: path.filter_id
      - text: Remove filter list {filter}.
        slots:
          filter: path.filter_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/_forecast'].post
  update:
    x-apievangelist-phrasing:
      intent: Forecast a time series with an anomaly job
      effect: write
      questions:
      - Can I predict future values from an anomaly detection job?
      - How far ahead can an ML forecast project, and when does it expire?
      instructions:
      - text: Forecast job {job} for the next {duration}.
        slots:
          job: path.job_id
          duration: query.duration
      - text: Run a forecast on job {job} that expires in {expires}.
        slots:
          job: path.job_id
          expires: query.expires_in
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/_forecast'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete all forecasts from a job
      effect: destructive
      questions:
      - How do I clear every forecast a job has produced?
      - What if a job has no forecasts when I try to delete them?
      instructions:
      - text: Delete all forecasts for job {job}.
        slots:
          job: path.job_id
      - text: Clear forecasts on job {job}, allowing none to exist.
        slots:
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a specific forecast from a job
      effect: destructive
      questions:
      - Can I remove one forecast by ID and keep the others?
      - How do I delete a single forecast run?
      instructions:
      - text: Delete forecast {forecast} from job {job}.
        slots:
          job: path.job_id
          forecast: path.forecast_id
      - text: Remove forecast {forecast} of anomaly job {job}.
        slots:
          job: path.job_id
          forecast: path.forecast_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an anomaly job's configuration
      effect: read
      questions:
      - What detectors and settings does a specific anomaly job use?
      - Can I get one job's config without generated fields?
      instructions:
      - text: Show the configuration of anomaly job {job}.
        slots:
          job: path.job_id
      - text: Get job {job} config excluding generated fields.
        slots:
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create an anomaly detection job
      effect: write
      questions:
      - How do I set up a new anomaly detection job on my data?
      - What analysis config and data description does a new job require?
      instructions:
      - text: Create anomaly detection job {job} with analysis config {analysis} and data description {data}.
        slots:
          job: path.job_id
          analysis: requestBody.analysis_config
          data: requestBody.data_description
      - text: Create job {job} described as {description}.
        slots:
          job: path.job_id
          description: requestBody.description
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an anomaly detection job
      effect: destructive
      questions:
      - Do I need to close a job before deleting it?
      - Can I delete a job but keep the annotations users added?
      instructions:
      - text: Delete anomaly detection job {job}.
        slots:
          job: path.job_id
      - text: Force-delete open job {job}.
        slots:
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a specific model snapshot
      effect: read
      questions:
      - What's in a particular model snapshot of my anomaly job?
      - Can I look up one snapshot by ID?
      instructions:
      - text: Show model snapshot {snapshot} of job {job}.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      - text: Get snapshot {snapshot} details for anomaly job {job}.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a specific model snapshot via POST
      effect: read
      questions:
      - Is there a POST variant to look up a single model snapshot with body parameters?
      - Can I send sort and time range in a body when fetching one snapshot?
      instructions:
      - text: Post a lookup for model snapshot {snapshot} on job {job}.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      - text: Fetch snapshot {snapshot} of job {job} using the request-body form.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a model snapshot
      effect: destructive
      questions:
      - Can I delete the active model snapshot of a job?
      - How do I remove an old model snapshot?
      instructions:
      - text: Delete model snapshot {snapshot} from job {job}.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      - text: Remove snapshot {snapshot} of anomaly job {job}.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/_estimate_model_memory'].post
  update:
    x-apievangelist-phrasing:
      intent: Estimate an anomaly job's model memory
      effect: read
      questions:
      - How much memory will an anomaly job need before I create it?
      - Can field cardinality estimates improve the model memory estimate?
      instructions:
      - text: Estimate model memory for analysis config {analysis}.
        slots:
          analysis: requestBody.analysis_config
      - text: Estimate job memory with max bucket cardinality {cardinality}.
        slots:
          cardinality: requestBody.max_bucket_cardinality
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/_flush'].post
  update:
    x-apievangelist-phrasing:
      intent: Flush buffered data in an anomaly job
      effect: write
      questions:
      - How do I force an anomaly job to process data it has buffered?
      - Can a flush calculate interim results or advance time?
      instructions:
      - text: Flush job {job}.
        slots:
          job: path.job_id
      - text: Flush job {job} and calculate interim results.
        slots:
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one result bucket by timestamp
      effect: read
      questions:
      - What did my anomaly job score at a specific timestamp?
      - Can I fetch the single bucket for one point in time?
      instructions:
      - text: Get the result bucket at {timestamp} for job {job}.
        slots:
          job: path.job_id
          timestamp: path.timestamp
      - text: Show bucket {timestamp} of anomaly job {job} with records expanded.
        slots:
          job: path.job_id
          timestamp: path.timestamp
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get one result bucket by timestamp via POST
      effect: read
      questions:
      - Is there a POST variant for fetching the bucket at a timestamp?
      - Can I pass the single-bucket filters in a request body?
      instructions:
      - text: Post a lookup for the bucket at {timestamp} on job {job}.
        slots:
          job: path.job_id
          timestamp: path.timestamp
      - text: Fetch bucket {timestamp} of job {job} using the request-body form.
        slots:
          job: path.job_id
          timestamp: path.timestamp
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/buckets'].get
  update:
    x-apievangelist-phrasing:
      intent: List result buckets for an anomaly job
      effect: read
      questions:
      - Which time buckets in my job had the highest anomaly scores?
      - Can I filter an anomaly job's buckets by minimum score and time range?
      instructions:
      - text: List buckets for job {job} with anomaly score above {score}.
        slots:
          job: path.job_id
          score: query.anomaly_score
      - text: List result buckets for job {job} between {start} and {end}.
        slots:
          job: path.job_id
          start: query.start
          end: query.end
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/buckets'].post
  update:
    x-apievangelist-phrasing:
      intent: List result buckets for a job via POST
      effect: read
      questions:
      - Can I list a job's buckets with filters sent in a POST body?
      - Is there a request-body form for listing all buckets?
      instructions:
      - text: Post a bucket listing for job {job} with score at least {score}.
        slots:
          job: path.job_id
          score: requestBody.anomaly_score
      - text: List all buckets of job {job} using the request-body form.
        slots:
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}/events'].get
  update:
    x-apievangelist-phrasing:
      intent: List scheduled events in a calendar
      effect: read
      questions:
      - What maintenance windows are scheduled in this ML calendar?
      - Can I list calendar events that apply to one job in a time range?
      instructions:
      - text: List events in calendar {calendar}.
        slots:
          calendar: path.calendar_id
      - text: List events in calendar {calendar} for job {job}.
        slots:
          calendar: path.calendar_id
          job: query.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars/{calendar_id}/events'].post
  update:
    x-apievangelist-phrasing:
      intent: Add scheduled events to a calendar
      effect: write
      questions:
      - How do I add holidays so anomaly jobs skip them?
      - Can I add several scheduled events to a calendar at once?
      instructions:
      - text: Add events {events} to calendar {calendar}.
        slots:
          calendar: path.calendar_id
          events: requestBody.events
      - text: Schedule events {events} in ML calendar {calendar}.
        slots:
          calendar: path.calendar_id
          events: requestBody.events
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars'].get
  update:
    x-apievangelist-phrasing:
      intent: List all ML calendars
      effect: read
      questions:
      - What ML calendars exist in my cluster?
      - Can I page through all calendars with from and size?
      instructions:
      - text: List all ML calendars.
      - text: List ML calendars, {size} at a time.
        slots:
          size: query.size
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/calendars'].post
  update:
    x-apievangelist-phrasing:
      intent: List all ML calendars via POST
      effect: read
      questions:
      - Is there a POST form for listing every calendar with paging in the body?
      - Can I send page settings in a body when listing calendars?
      instructions:
      - text: List every ML calendar using the POST request body.
      - text: Post a calendar listing with page settings {page}.
        slots:
          page: requestBody.page
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one log category from a job
      effect: read
      questions:
      - What does a specific message category found by my job look like?
      - Can I fetch a single category by its ID?
      instructions:
      - text: Get category {category} from job {job}.
        slots:
          job: path.job_id
          category: path.category_id
      - text: Show categorization result {category} for anomaly job {job}.
        slots:
          job: path.job_id
          category: path.category_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/categories/{category_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get one log category via POST
      effect: read
      questions:
      - Is there a POST variant for fetching one category result?
      - Can I send page options in a body for a single category lookup?
      instructions:
      - text: Post a lookup for category {category} on job {job}.
        slots:
          job: path.job_id
          category: path.category_id
      - text: Fetch category {category} of job {job} using the request-body form.
        slots:
          job: path.job_id
          category: path.category_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List log categories found by a job
      effect: read
      questions:
      - What message categories has my categorization job learned?
      - Can I list categories for one partition value?
      instructions:
      - text: List categories for job {job}.
        slots:
          job: path.job_id
      - text: List categories for job {job} in partition {partition}.
        slots:
          job: path.job_id
          partition: query.partition_field_value
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/categories'].post
  update:
    x-apievangelist-phrasing:
      intent: List log categories via POST
      effect: read
      questions:
      - Can I list all categories with page settings in a POST body?
      - Is there a request-body form for the category listing?
      instructions:
      - text: List all categories of job {job} using the request-body form.
        slots:
          job: path.job_id
      - text: Post a category listing for job {job} with paging {page}.
        slots:
          job: path.job_id
          page: requestBody.page
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/datafeeds/{datafeed_id}/_stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get stats for a datafeed
      effect: read
      questions:
      - Is a specific datafeed running, and on which node?
      - How many searches has this datafeed made?
      instructions:
      - text: Get stats for datafeed {datafeed}.
        slots:
          datafeed: path.datafeed_id
      - text: Show running state of datafeed {datafeed}.
        slots:
          datafeed: path.datafeed_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/datafeeds/_stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get stats for all datafeeds
      effect: read
      questions:
      - Which of my datafeeds are started or stopped?
      - Can I see usage stats for every datafeed at once?
      instructions:
      - text: Get stats for all datafeeds.
      - text: Show the state of every datafeed in the cluster.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/datafeeds'].get
  update:
    x-apievangelist-phrasing:
      intent: List all datafeed configurations
      effect: read
      questions:
      - What datafeeds are configured in my cluster?
      - Can I export every datafeed config without generated fields?
      instructions:
      - text: List all datafeed configurations.
      - text: List every datafeed config excluding generated fields.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/filters'].get
  update:
    x-apievangelist-phrasing:
      intent: List all ML filters
      effect: read
      questions:
      - What ML filter lists exist?
      - Can I page through filters with from and size?
      instructions:
      - text: List all ML filters.
      - text: List ML filters, {size} per page.
        slots:
          size: query.size
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/influencers'].get
  update:
    x-apievangelist-phrasing:
      intent: List influencers for an anomaly job
      effect: read
      questions:
      - Which entities contributed most to my job's anomalies?
      - Can I filter influencers by score and time range?
      instructions:
      - text: List influencers for job {job}.
        slots:
          job: path.job_id
      - text: List influencers for job {job} scoring above {score}.
        slots:
          job: path.job_id
          score: query.influencer_score
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/results/influencers'].post
  update:
    x-apievangelist-phrasing:
      intent: List influencers via POST
      effect: read
      questions:
      - Is there a POST variant for listing a job's influencers?
      - Can I send page options in a body for influencer results?
      instructions:
      - text: List influencers of job {job} using the request-body form.
        slots:
          job: path.job_id
      - text: Post an influencer listing for job {job} with paging {page}.
        slots:
          job: path.job_id
          page: requestBody.page
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/_stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get stats for all anomaly jobs
      effect: read
      questions:
      - Which of my anomaly detection jobs are open, closed or failed?
      - Can I see processed record counts for every job?
      instructions:
      - text: Get stats for all anomaly detection jobs.
      - text: Show the state of every anomaly job.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/_stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get stats for an anomaly job
      effect: read
      questions:
      - Is a specific anomaly job open, and how much data has it processed?
      - What memory status is one job reporting?
      instructions:
      - text: Get stats for anomaly job {job}.
        slots:
          job: path.job_id
      - text: Show processed counts and state of job {job}.
        slots:
          job: path.job_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors'].get
  update:
    x-apievangelist-phrasing:
      intent: List all anomaly job configurations
      effect: read
      questions:
      - What anomaly detection jobs are configured?
      - Can I export every job config without generated fields?
      instructions:
      - text: List all anomaly detection jobs.
      - text: List every anomaly job config excluding generated fields.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a model snapshot upgrade
      effect: read
      questions:
      - Is the upgrade of my model snapshot still running?
      - Where can I check upgrade progress for a snapshot?
      instructions:
      - text: Get upgrade stats for snapshot {snapshot} of job {job}.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      - text: Check the upgrade status of model snapshot {snapshot} on job {job}.
        slots:
          job: path.job_id
          snapshot: path.snapshot_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_ml/anomaly_detectors/{job_id}/model_snapshots'].get
  update:
    x-apievangelist-phrasing:
      intent: List model snapshots for a job
      effect: read
      questions:
      - What model snapshots does my anomaly job have?
      - Can I list snapshots in a time range sorted newest first?
      instructions:
      - text: List model snapshots of job {job}.
        slots:
          job: path.job_id
      - text: List snapshots of job {job} created between {start} and {end}.
        slots:
          job: path.job_id
          start: query.start
          end: query.end
      method: generated
      generated: '2026-11-17'


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://artifacts.apis.io/elastic/overlays/elastic-ml-anomaly-api-phrasing-overlay.yaml

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/elastic-ml-anomaly-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.