Skip to main content
Elasticsearch logo
  • Category: databases
  • Auth: API_KEY, BASIC
  • Composio-managed OAuth available? N/A
  • Tools: 4
  • Triggers: 0
  • Slug: ELASTICSEARCH
  • Version: 20261101_00

Tools

Slug: ELASTICSEARCH_GET_INDEX_SCHEMAGet schema and mapping information for a specific Elasticsearch index, including field mappings, settings, aliases, and field statistics.

Input Parameters

string
required
The name of the index to get schema information for.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ELASTICSEARCH_LIST_INDICESTool 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.

Input Parameters

string
A comma-separated string of index names or wildcard expressions to limit the returned information. For example, ‘my-index-*,another-index’. If not provided, information for all indices is returned.
string ("green" | "yellow" | "red")
The health status to filter indices by (green, yellow, or red).
string
A comma-separated string of column names to sort by. For example, ‘index,health’.
string ("open" | "closed" | "hidden" | "none" | "all")
Type of index that wildcard patterns can match. Supports comma-separated values, e.g., ‘open,hidden’. ‘all’ matches all indices by default.
boolean
If true, only shows information about primary shards.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ELASTICSEARCH_PING_CLUSTERPing the Elasticsearch cluster’s root endpoint to check connectivity and accessibility.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: ELASTICSEARCH_QUERY_INDEXTool 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.

Input Parameters

integer
Starting offset for pagination (default: 0)
integer
Number of results to return (default: 10, max: 1000 to prevent context overload)
array
Sort order for results
string
Free text search query (uses query_string query)
array
Specific fields to return (if not specified, returns all fields)
boolean
Enable highlighting for search terms
string
required
The name of the index to query. Must be a non-empty string.
object
Time-based filter for timestamp fields
array
Exact term filters for specific field values
array
Range filters for numeric or date fields
boolean
Include aggregations in the response

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not