Elastic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Elasticsearch Text Structure API

7 actions 7 updates phrasing extends openapi/elastic-text-structure-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 7

$.info
$.paths['/_text_structure/find_field_structure'].get
$.paths['/_text_structure/find_message_structure'].get
$.paths['/_text_structure/find_message_structure'].post
$.paths['/_text_structure/find_structure'].post
$.paths['/_text_structure/test_grok_pattern'].get
$.paths['/_text_structure/test_grok_pattern'].post

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 Text Structure API
  version: 1.0.0
extends: openapi/elastic-text-structure-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: 6
- target: $.paths['/_text_structure/find_field_structure'].get
  update:
    x-apievangelist-phrasing:
      intent: Detect the structure of an index field
      effect: read
      questions:
      - What format are the values in a text field of my index?
      - Can Elastic suggest mappings from an existing field?
      instructions:
      - text: Find the structure of field {field} in index {index}.
        slots:
          field: query.field
          index: query.index
      - text: Analyze {field} in {index} sampling {n} documents.
        slots:
          field: query.field
          index: query.index
          n: query.documents_to_sample
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_text_structure/find_message_structure'].get
  update:
    x-apievangelist-phrasing:
      intent: Detect the structure of log messages
      effect: read
      questions:
      - Can I find a Grok pattern for a list of log messages?
      - What timestamp format do my messages use?
      instructions:
      - text: Find the structure of messages {messages}.
        slots:
          messages: requestBody.messages
      - text: Analyze messages {messages} as {format}.
        slots:
          messages: requestBody.messages
          format: query.format
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_text_structure/find_message_structure'].post
  update:
    x-apievangelist-phrasing:
      intent: Detect log message structure via POST
      effect: read
      questions:
      - Is there a POST form for analyzing message structure?
      - Can I post messages with a known Grok pattern?
      instructions:
      - text: Post messages {messages} for structure analysis.
        slots:
          messages: requestBody.messages
      - text: Analyze messages {messages} with grok {grok} using the POST form.
        slots:
          messages: requestBody.messages
          grok: query.grok_pattern
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_text_structure/find_structure'].post
  update:
    x-apievangelist-phrasing:
      intent: Detect the structure of a text file
      effect: read
      questions:
      - Can Elastic suggest ingest settings for a CSV or log file?
      - How do I detect a file's delimiter and header row?
      instructions:
      - text: Find the structure of this text file.
      - text: Analyze the file as {format} with delimiter {delimiter}.
        slots:
          format: query.format
          delimiter: query.delimiter
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_text_structure/test_grok_pattern'].get
  update:
    x-apievangelist-phrasing:
      intent: Test a Grok pattern
      effect: read
      questions:
      - Does my Grok pattern match these lines?
      - Which fields does a Grok pattern extract?
      instructions:
      - text: Test grok pattern {grok} on {text}.
        slots:
          grok: requestBody.grok_pattern
          text: requestBody.text
      - text: Check if {grok} parses lines {text}.
        slots:
          grok: requestBody.grok_pattern
          text: requestBody.text
      method: generated
      generated: '2026-11-17'
- target: $.paths['/_text_structure/test_grok_pattern'].post
  update:
    x-apievangelist-phrasing:
      intent: Test a Grok pattern via POST
      effect: read
      questions:
      - Is there a POST form for testing Grok patterns?
      - Can I post sample text to check a Grok match?
      instructions:
      - text: Post grok pattern {grok} with text {text} for testing.
        slots:
          grok: requestBody.grok_pattern
          text: requestBody.text
      - text: Test {grok} against {text} using the POST form.
        slots:
          grok: requestBody.grok_pattern
          text: requestBody.text
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/elastic-text-structure-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.