# Elasticsearch AI integration on Definable

> Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases.

## What this connects

Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. It provides real-time search and analytics for all types of data.

Vendor: https://www.elastic.co/elasticsearch

## Tools available

**4** tools available. First 4:

- `ELASTICSEARCH_GET_INDEX_SCHEMA` — Get Index Schema — Tool to get the complete schema/mapping of a specific Elasticsearch index. Use when you need to understand the structure, field types, and mappings of an index.
- `ELASTICSEARCH_LIST_INDICES` — List Indices — Tool to list all available Elasticsearch indices. Use when you need to get a list of indices in your Elasticsearch cluster, optionally filtering by pattern, health status, or other criteria.
- `ELASTICSEARCH_PING_CLUSTER` — Ping Cluster — Tool to ping the Elasticsearch cluster and check if it is running. Use when you need to verify cluster connectivity and health status before performing operations.
- `ELASTICSEARCH_QUERY_INDEX` — Query Index — Tool to query an Elasticsearch index with various filters, time ranges, and pagination support. Use when you need to search for documents in an index with complex filtering criteria.

## Auth

Auth schemes: `API_KEY`, `BASIC`.

## How agents use Elasticsearch

Inside a Definable workflow, Elasticsearch is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Elasticsearch** — the Researcher (GPT-5.5) pulls context from Elasticsearch (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Elasticsearch** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Elasticsearch (create record, post message, draft email).
- **Designer / Engineer → Distributor → Elasticsearch** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Elasticsearch (attach file, open PR comment, post status).

The Verifier checks every Elasticsearch call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- databases — https://definable.ai/apps/category/databases/
- analytics — https://definable.ai/apps/category/analytics/

## Related

- HTML page: https://definable.ai/apps/elasticsearch/
- Same category (databases): https://definable.ai/apps/category/databases/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
