You can wire the Elasticsearch node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.
Credentials
Connect Elasticsearch under Credentials in the node settings. See Connecting credentials for the general flow. Enter the values manually when creating the credential. Create an API key in Kibana → Stack Management → API Keys and paste the encoded value here. Get your credentials here.Operations
Aliases
| Operation | ID | Description |
|---|---|---|
| Alias Exists | alias_exists | |
| List Aliases | list_aliases | |
| Update Aliases | update_aliases |
Documents
| Operation | ID | Description |
|---|---|---|
| Bulk Index | bulk_index | |
| Bulk Write | bulk_write | |
| Create Document | create_document | |
| Delete By Query | delete_by_query | |
| Delete Document | delete_document | |
| Document Exists | document_exists | |
| Get Document | get_document | |
| Get Document Source | get_document_source | |
| Index Document | index_document | |
| Multi Get | multi_get | |
| Reindex Documents | reindex_documents | |
| Update By Query | update_by_query | |
| Update Document | update_document | |
| Upload & Index Document | upload_and_index |
Index
| Operation | ID | Description |
|---|---|---|
| Create Index | create_index | |
| Delete Index | delete_index | |
| Get Index | get_index | |
| Get Index Stats | get_index_stats | |
| Get Mapping | get_mapping | |
| Get Settings | get_settings | |
| Index Exists | index_exists | |
| List Indices | list_indices | |
| Refresh Index | refresh_index | |
| Update Mapping | update_mapping | |
| Update Settings | update_settings |
Search
| Operation | ID | Description |
|---|---|---|
| Count Documents | count | |
| Multi Search | multi_search | |
| Search | search |