Elastic Stack · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Elasticsearch Request & Response Specification Synonyms API
8 actions
8 updates
phrasing
extends
openapi/elk-stack-synonyms-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Elastic Stack's API. It is a proposal applied on top of the contract, not a document Elastic Stack 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 Request & Response Specification Synonyms API
version: 1.0.0
extends: openapi/elk-stack-synonyms-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-09-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 7
- target: $.paths['/_synonyms/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get the rules in a synonym set
effect: read
questions:
- What synonym rules are in a particular synonym set?
- Can I page through a large synonym set?
instructions:
- text: Get synonym set {id}.
slots:
id: path.id
- text: Show {size} rules from synonym set {id} starting at {from}.
slots:
id: path.id
size: query.size
from: query.from
method: generated
generated: '2026-09-26'
- target: $.paths['/_synonyms/{id}'].put
update:
x-apievangelist-phrasing:
intent: Create or replace a synonym set
effect: write
questions:
- How do I create a synonym set for my search analyzer?
- Can I append rules to a synonym set instead of replacing it?
- How many synonym rules can a single set hold?
instructions:
- text: Create synonym set {id} with rules {synonyms_set}.
slots:
id: path.id
synonyms_set: requestBody.synonyms_set
- text: Add rules {synonyms_set} to synonym set {id} with append {append}.
slots:
id: path.id
synonyms_set: requestBody.synonyms_set
append: query.append
method: generated
generated: '2026-09-26'
- target: $.paths['/_synonyms/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a synonym set
effect: destructive
questions:
- How do I delete a synonym set?
- Why can't I delete a synonym set that an analyzer is using?
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-09-26'
- target: $.paths['/_synonyms/{set_id}/{rule_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a single synonym rule
effect: read
questions:
- What does one specific rule in a synonym set say?
- Can I fetch a synonym rule by its rule id?
instructions:
- text: Get rule {rule_id} from synonym set {set_id}.
slots:
set_id: path.set_id
rule_id: path.rule_id
- text: Show synonym rule {rule_id} in {set_id}.
slots:
set_id: path.set_id
rule_id: path.rule_id
method: generated
generated: '2026-09-26'
- target: $.paths['/_synonyms/{set_id}/{rule_id}'].put
update:
x-apievangelist-phrasing:
intent: Create or update a single synonym rule
effect: write
questions:
- How do I add or change one synonym rule without resending the whole set?
- Do analyzers reload when I update a single synonym rule?
instructions:
- text: Set rule {rule_id} in synonym set {set_id} to {synonyms}.
slots:
set_id: path.set_id
rule_id: path.rule_id
synonyms: requestBody.synonyms
- text: Update synonym rule {rule_id} in {set_id} to {synonyms} with refresh {refresh}.
slots:
set_id: path.set_id
rule_id: path.rule_id
synonyms: requestBody.synonyms
refresh: query.refresh
method: generated
generated: '2026-09-26'
- target: $.paths['/_synonyms/{set_id}/{rule_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a single synonym rule
effect: destructive
questions:
- How do I remove one rule from a synonym set?
- Can I delete a synonym rule and keep the rest of the set?
instructions:
- text: Delete rule {rule_id} from synonym set {set_id}.
slots:
set_id: path.set_id
rule_id: path.rule_id
- text: Remove synonym rule {rule_id} in {set_id} with refresh {refresh}.
slots:
set_id: path.set_id
rule_id: path.rule_id
refresh: query.refresh
method: generated
generated: '2026-09-26'
- target: $.paths['/_synonyms'].get
update:
x-apievangelist-phrasing:
intent: List all synonym sets
effect: read
questions:
- Which synonym sets are defined in my cluster?
- How many rules does each synonym set have?
instructions:
- text: List all synonym sets.
- text: Show {size} synonym sets starting at {from}.
slots:
size: query.size
from: query.from
method: generated
generated: '2026-09-26'
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/elk-stack-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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.