Elastic · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Elasticsearch Synonyms API
8 actions
8 updates
phrasing
extends
openapi/elastic-synonyms-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.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/_synonyms/{id}'].get
$.paths['/_synonyms/{id}'].put
$.paths['/_synonyms/{id}'].delete
$.paths['/_synonyms/{set_id}/{rule_id}'].get
$.paths['/_synonyms/{set_id}/{rule_id}'].put
$.paths['/_synonyms/{set_id}/{rule_id}'].delete
$.paths['/_synonyms'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Elasticsearch Synonyms API
version: 1.0.0
extends: openapi/elastic-synonyms-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: 7
- target: $.paths['/_synonyms/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a synonym set
effect: read
questions:
- What synonym rules are in a particular synonym set?
- Can I page through the rules of a large synonym set?
instructions:
- text: Show synonym set {id}.
slots:
id: path.id
- text: Get {size} rules from synonym set {id} starting at {from}.
slots:
size: query.size
id: path.id
from: query.from
method: generated
generated: '2026-11-17'
- target: $.paths['/_synonyms/{id}'].put
update:
x-apievangelist-phrasing:
intent: Create or replace a synonym set
effect: write
questions:
- How many synonym rules can one set hold?
- Does updating a synonym set reload the analyzers using it?
instructions:
- text: Create synonym set {id} with rules {synonyms_set}.
slots:
id: path.id
synonyms_set: requestBody.synonyms_set
- text: Replace all rules in synonym set {id} with {synonyms_set}.
slots:
id: path.id
synonyms_set: requestBody.synonyms_set
method: generated
generated: '2026-11-17'
- target: $.paths['/_synonyms/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a synonym set
effect: destructive
questions:
- Can I delete a synonym set that an index analyzer still uses?
- How do I remove an unused synonym set?
instructions:
- text: Delete synonym set {id}.
slots:
id: path.id
- text: Remove the unused synonym set {id}.
slots:
id: path.id
method: generated
generated: '2026-11-17'
- target: $.paths['/_synonyms/{set_id}/{rule_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a synonym rule
effect: read
questions:
- What does a single synonym rule in a set say?
- Can I look up one synonym rule by its ID?
instructions:
- text: Show synonym rule {rule_id} in set {set_id}.
slots:
rule_id: path.rule_id
set_id: path.set_id
- text: Get rule {rule_id} from synonyms {set_id}.
slots:
rule_id: path.rule_id
set_id: path.set_id
method: generated
generated: '2026-11-17'
- target: $.paths['/_synonyms/{set_id}/{rule_id}'].put
update:
x-apievangelist-phrasing:
intent: Create or update a synonym rule
effect: write
questions:
- How do I add one synonym rule without rewriting the whole set?
- Is a synonym rule rejected if it's invalid?
instructions:
- text: Set rule {rule_id} in synonym set {set_id} to {synonyms}.
slots:
rule_id: path.rule_id
set_id: path.set_id
synonyms: requestBody.synonyms
- text: Add synonyms {synonyms} as rule {rule_id} of {set_id}.
slots:
synonyms: requestBody.synonyms
rule_id: path.rule_id
set_id: path.set_id
method: generated
generated: '2026-11-17'
- target: $.paths['/_synonyms/{set_id}/{rule_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a synonym rule
effect: destructive
questions:
- How do I remove one rule from a synonym set?
- Do analyzers reload after a synonym rule is deleted?
instructions:
- text: Delete rule {rule_id} from synonym set {set_id}.
slots:
rule_id: path.rule_id
set_id: path.set_id
- text: Remove synonym rule {rule_id} in {set_id} without refreshing.
slots:
rule_id: path.rule_id
set_id: path.set_id
method: generated
generated: '2026-11-17'
- target: $.paths['/_synonyms'].get
update:
x-apievangelist-phrasing:
intent: List all synonym sets
effect: read
questions:
- Which synonym sets exist and how many rules does each have?
- Can I page through my synonym sets?
instructions:
- text: List my synonym sets.
- text: Show {size} synonym sets from offset {from}.
slots:
size: query.size
from: query.from
method: generated
generated: '2026-11-17'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/elastic-synonyms-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.