Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Search Query
json
{ "match": { "field": "search term" } }
Sort
json
[{ "field": { "order": "asc" } }]
Fields to Include
field1, field2 (comma-separated)
Fields to Exclude
field1, field2 (comma-separated)
Search (elasticsearch_search)
Search documents in Elasticsearch using Query DSL. Returns matching documents with scores and metadata.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name to search querystring No Query DSL as JSON string fromnumber No Starting offset for pagination (default: 0) sizenumber No Number of results to return (default: 10) sortstring No Sort specification as JSON string sourceIncludesstring No Comma-separated list of fields to include in _source sourceExcludesstring No Comma-separated list of fields to exclude from _source trackTotalHitsboolean No Track accurate total hit count (default: true)
Output
Parameter Type Description tooknumber Time in milliseconds the search took timed_outboolean Whether the search timed out hitsobject Search results with total count and matching documents
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Document ID
Leave empty for auto-generated ID
Document*
json
{ "field": "value", "another_field": 123 }
Index Document (elasticsearch_index_document)
Index (create or update) a document in Elasticsearch.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Target index name documentIdstring No Document ID (auto-generated if not provided) documentstring Yes Document body as JSON string refreshstring No Refresh policy: true, false, or wait_for
Output
Parameter Type Description _indexstring Index where the document was stored _idstring Document ID _versionnumber Document version
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Document ID*
unique-document-id
Fields to Include
field1, field2 (comma-separated)
Fields to Exclude
field1, field2 (comma-separated)
Get Document (elasticsearch_get_document)
Retrieve a document by ID from Elasticsearch.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name documentIdstring Yes Document ID to retrieve sourceIncludesstring No Comma-separated list of fields to include sourceExcludesstring No Comma-separated list of fields to exclude
Output
Parameter Type Description _indexstring Index name _idstring Document ID _versionnumber Document version foundboolean Whether the document was found
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Document ID*
unique-document-id
Partial Document*
json
{ "field_to_update": "new_value" }
Update Document (elasticsearch_update_document)
Partially update a document in Elasticsearch using doc merge.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name documentIdstring Yes Document ID to update documentstring Yes Partial document to merge as JSON string retryOnConflictnumber No Number of retries on version conflict
Output
Parameter Type Description _indexstring Index name _idstring Document ID _versionnumber New document version
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Document ID*
unique-document-id
Delete Document (elasticsearch_delete_document)
Delete a document from Elasticsearch by ID.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name documentIdstring Yes Document ID to delete refreshstring No Refresh policy: true, false, or wait_for
Output
Parameter Type Description _indexstring Index name _idstring Document ID _versionnumber Document version
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Bulk Operations*
json
{ "index": { "_index": "my-index", "_id": "1" } }\n{ "field": "value" }\n{ "delete": { "_index": "my-index", "_id": "2" } }
Bulk Operations (elasticsearch_bulk)
Perform multiple index, create, delete, or update operations in a single request for high performance.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring No Default index for operations that do not specify one operationsstring Yes Bulk operations as NDJSON string (newline-delimited JSON) refreshstring No Refresh policy: true, false, or wait_for
Output
Parameter Type Description tooknumber Time in milliseconds the bulk operation took errorsboolean Whether any operation had an error
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Query
json
{ "match": { "field": "value" } }
Count Documents (elasticsearch_count)
Count documents matching a query in Elasticsearch.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name to count documents in querystring No Optional query to filter documents (JSON string)
Output
Parameter Type Description countnumber Number of documents matching the query
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Index Settings
json
{ "number_of_shards": 1, "number_of_replicas": 1 }
Index Mappings
json
{ "properties": { "field": { "type": "text" } } }
Create Index (elasticsearch_create_index)
Create a new index with optional settings and mappings.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name to create settingsstring No Index settings as JSON string mappingsstring No Index mappings as JSON string
Output
Parameter Type Description acknowledgedboolean Whether the request was acknowledged shards_acknowledgedboolean Whether the shards were acknowledged
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Delete Index (elasticsearch_delete_index)
Delete an index and all its documents. This operation is irreversible.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name to delete
Output
Refer to the block outputs for this operation.
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Get Index Info (elasticsearch_get_index)
Retrieve index information including settings, mappings, and aliases.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth indexstring Yes Index name to retrieve info for
Output
Refer to the block outputs for this operation.
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Cluster Health (elasticsearch_cluster_health)
Get the health status of the Elasticsearch cluster.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth waitForStatusstring No Wait until cluster reaches this status: green, yellow, or red timeoutstring No Timeout for the wait operation (e.g., 30s, 1m)
Output
Parameter Type Description cluster_namestring Name of the cluster statusstring Cluster health status: green, yellow, or red number_of_nodesnumber Total number of nodes in the cluster number_of_data_nodesnumber Number of data nodes active_shardsnumber Number of active shards
Elasticsearch Host*
https://localhost:9200
Cloud ID*
deployment-name:base64-encoded-data
API Key*
••••••••
Password*
••••••••
Cluster Stats (elasticsearch_cluster_stats)
Get comprehensive statistics about the Elasticsearch cluster.
Input
Parameter Type Required Description deploymentTypestring Yes Deployment type: self_hosted or cloud hoststring No Elasticsearch host URL (for self-hosted) cloudIdstring No Elastic Cloud ID (for cloud deployments) authMethodstring Yes Authentication method: api_key or basic_auth apiKeystring No Elasticsearch API key usernamestring No Username for basic auth passwordstring No Password for basic auth
Output
Parameter Type Description cluster_namestring Name of the cluster statusstring Cluster health status nodesobject Node statistics including count and versions
Integrate Elasticsearch into workflows for powerful search, indexing, and data management. Supports document CRUD operations, advanced search queries, bulk operations, index management, and cluster monitoring. Works with both self-hosted and Elastic Cloud deployments.
Category: tools
Type: elasticsearch