> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/data-database/elasticsearch.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Elasticsearch

Elasticsearch is a search and analytics engine. Index, search and bulk update documents, run async searches and manage indices and aliases.

![Elasticsearch logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-0ae83672d6b49fb4fe79c028191cdae44024e007%2Fkibana.png?alt=media)

|                    |                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------- |
| **Category**       | [Data and databases](https://docs.fastn.ai/connectors/catalog/data-database.md)    |
| **Website**        | [elastic.co](https://elastic.co)                                                   |
| **Authentication** | Host and API key                                                                   |
| **Slug**           | `elasticsearch`                                                                    |
| **On fastn.ai**    | [Embed Elasticsearch in your product](https://fastn.ai/integrations/elasticsearch) |

## Setup

Your customers enter their host and api key for Elasticsearch when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Elasticsearch from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Elasticsearch**.
2. Select **Connect** on the Elasticsearch card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Elasticsearch's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Activate the Connector Draft Filter</td><td><code>connectorUpdateActiveFiltering</code></td><td>Activate the valid draft filtering rules for a connector, promoting the draft filtering to the active filtering.</td></tr><tr><td>Add an Index Block</td><td><code>indicesAddBlock</code></td><td>Add an index block to one or more indices. Index blocks limit the operations allowed on an index by blocking a specific operation type such as write or read_only.</td></tr><tr><td>Analyze Text</td><td><code>indicesAnalyze</code></td><td>Run text analysis on a string and return the resulting tokens, using a named analyzer, a field's analyzer, or a custom tokenizer plus filters. Useful for debugging analyzers and mappings.</td></tr><tr><td>Authenticate the Current Credential</td><td><code>securityAuthenticate</code></td><td>Return information about the user or API key the current credential authenticates as, including username, assigned roles, metadata and the realms that authenticated it.</td></tr><tr><td>Bulk Index Or Delete Documents</td><td><code>bulk</code></td><td>Perform multiple index, create, delete, and update actions in a single request, which reduces overhead and greatly increases indexing speed. The operations are supplied as newline-delimited JSON: an action line ({"index":{"_id":"1"}}) followed by the document line for index/create/update. Data streams support only the create action. Requires the create_doc, create, index, delete or write index privilege for the actions used.</td></tr><tr><td>Cancel a Connector Sync Job</td><td><code>connectorSyncJobCancel</code></td><td>Cancel a connector sync job, which sets the status to cancelling and updates cancellation_requested_at to the current time. The connector service is then responsible for setting the status of connector sync jobs to cancelled.</td></tr><tr><td>Cancel Reindex Task</td><td><code>cancelReindex</code></td><td>Cancel an ongoing reindex task. If wait_for_completion is true (the default), the response contains the final task state after cancellation; if false, the response contains only acknowledged: true. The original task id keeps working across node-shutdown relocations.</td></tr><tr><td>Check In Connector</td><td><code>connectorCheckIn</code></td><td>Update the last_seen field of an Elastic connector and set it to the current timestamp.</td></tr><tr><td>Check User Privileges</td><td><code>securityHasPrivileges</code></td><td>Check whether a user holds a given set of cluster, index and application privileges. Any user may check their own privileges; checking another user's privileges requires the run-as feature.</td></tr><tr><td>Clear an SQL Cursor</td><td><code>sqlClearCursor</code></td><td>Free the resources held by an SQL search cursor when the remaining pages are no longer needed.</td></tr></tbody></table>

<details>

<summary>View 203 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Clear Scroll Search</td><td><code>clearScroll</code></td><td>Clear the search context and results for one or more scrolling searches, freeing their resources before the scroll timeout expires.</td></tr><tr><td>Close Point In Time</td><td><code>closePointInTime</code></td><td>Close a point in time (PIT) that was opened for search requests. A PIT is automatically closed when its keep_alive period elapses, but keeping points in time has a cost, so close them as soon as they are no longer required.</td></tr><tr><td>Continue Scroll Search</td><td><code>scroll</code></td><td>Get the next batch of results from a scrolling search using the _scroll_id returned by a search request that set the scroll query parameter. The scroll API is no longer recommended for deep pagination; prefer search_after with a point in time (PIT) to page through more than 10,000 hits.</td></tr><tr><td>Convert an Index Alias to a Data Stream</td><td><code>indicesMigrateToDataStream</code></td><td>Convert an index alias into a data stream. A matching data-stream-enabled index template must exist, the alias must have a write index, every index behind the alias must map @timestamp as date or date_nanos, and the alias must have no filter and no custom routing.</td></tr><tr><td>Count Documents</td><td><code>count</code></td><td>Get the number of documents matching a query. The query can be provided either as a simple Lucene query string parameter or as Query DSL in the request body; when no query is given the API counts all documents with match_all. Supports multi-target syntax across multiple data streams and indices.</td></tr><tr><td>Create a Behavioral Analytics Collection</td><td><code>searchApplicationPutBehavioralAnalytics</code></td><td>Create a behavioral analytics collection and its backing event data stream. Requires the manage_behavioral_analytics cluster privilege.</td></tr><tr><td>Create a Connector Sync Job</td><td><code>connectorSyncJobPost</code></td><td>Create a connector sync job document in the internal index and initialize its counters and timestamps with default values.</td></tr><tr><td>Create a Data Stream</td><td><code>indicesCreateDataStream</code></td><td>Create a data stream. A matching index template with data_stream enabled must already exist. Requires the create_index index privilege.</td></tr><tr><td>Create a Service Account Token</td><td><code>securityCreateServiceToken</code></td><td>Create a service account token for access without basic authentication. Service account tokens never expire and must be deleted explicitly. On Serverless, non-operator users can create tokens only for elastic/fleet-server and elastic/fleet-server-remote. Requires the manage_service_account cluster privilege.</td></tr><tr><td>Create a Transform</td><td><code>transformPutTransform</code></td><td>Create a transform that copies data from source indices, reshapes it and persists it into an entity-centric destination index. Choose either the pivot or the latest method, never both. Requires create_index, index and read on the destination and read and view_index_metadata on the source.</td></tr><tr><td>Create an API Key</td><td><code>securityCreateApiKey</code></td><td>Create an Elasticsearch API key. API keys never expire unless an expiration is given. When the request is itself authenticated with an API key, the new key is a derived key and role_descriptors must be a single named descriptor with no privileges, for example {"my-role": {}} - omitting the field or sending an empty object is rejected. Requires the manage_own_api_key cluster privilege.</td></tr><tr><td>Create an Enrich Policy</td><td><code>enrichPutPolicy</code></td><td>Create an enrich policy. Supply exactly one of match, geo_match or range to choose how enrich data is matched to incoming documents.</td></tr><tr><td>Create an Index from a Source Index</td><td><code>indicesCreateFrom</code></td><td>Copy the mappings and settings of a source index into a new destination index, optionally overriding individual mappings and settings.</td></tr><tr><td>Create an Inference Endpoint</td><td><code>inferencePut</code></td><td>Create an inference endpoint for a task type and service. This one action covers every provider Elasticsearch supports - the provider is chosen with the service field and configured through service_settings, because the API exposes a single route for all of them. Chunking behaviour for text_embedding and sparse_embedding endpoints is set with chunking_settings.</td></tr><tr><td>Create Connector</td><td><code>connectorPost</code></td><td>Create a new Elastic connector with an auto-generated id. Connectors are Elasticsearch integrations that bring content from third-party data sources; Elastic managed connectors run on Elastic Cloud and self-managed connectors run on your infrastructure.</td></tr><tr><td>Create Document</td><td><code>create</code></td><td>Index a new JSON document only if it does not already exist. To create or overwrite a document, use Index Document instead.</td></tr><tr><td>Create Index</td><td><code>indicesCreate</code></td><td>Add a new index to the cluster, optionally specifying its settings, field mappings and aliases. Index names must be lowercase and cannot contain \, /, *, ?, ", &#x26;lt;, &#x26;gt;, |, spaces, commas or #.</td></tr><tr><td>Create or Update a Logstash Pipeline</td><td><code>logstashPutPipeline</code></td><td>Create a pipeline that is used for Logstash Central Management. If the specified pipeline exists, it is replaced. Requires cluster privilege manage_logstash_pipelines.</td></tr><tr><td>Create or Update a Project Routing Expression</td><td><code>projectCreateRouting</code></td><td>Create or update a single named project routing expression. Requires the manage_project_routing or manage cluster privilege.</td></tr><tr><td>Create or Update a Query Rule</td><td><code>queryRulesPutRule</code></td><td>Create or update a single rule inside a query ruleset, without rewriting the whole ruleset.</td></tr><tr><td>Create or Update a Query Ruleset</td><td><code>queryRulesPutRuleset</code></td><td>Create or replace a query ruleset. A ruleset holds the pinned and exclude rules that are applied by a rule query at search time.</td></tr><tr><td>Create or Update a Role</td><td><code>securityPutRole</code></td><td>Create or update a role in the native realm. Roles defined in role files cannot be updated, and file-based role management is not available on Serverless. Requires the manage_security cluster privilege.</td></tr><tr><td>Create or Update a Script or Search Template</td><td><code>putScript</code></td><td>Create or update a stored script or search template. The context path segment makes Elasticsearch compile the script immediately in that context so errors surface at write time. Requires the manage cluster privilege.</td></tr><tr><td>Create or Update a Search Application</td><td><code>searchApplicationPut</code></td><td>Create a search application over one or more indices, optionally with a Mustache search template and a behavioral analytics collection. Requires the manage_search_application cluster privilege.</td></tr><tr><td>Create or Update a Synonym Rule</td><td><code>synonymsPutSynonymRule</code></td><td>Create or update a single synonym rule inside a synonym set. An invalid rule is rejected with an error. Updating a rule automatically reloads the analyzers that use the set.</td></tr><tr><td>Create or Update a Synonym Set</td><td><code>synonymsPutSynonym</code></td><td>Create or replace a synonym set. A set holds up to 100,000 rules by default. Updating a set automatically reloads the search analyzers of every index that uses it. Set append to true to merge the supplied rules into the existing set instead of replacing it.</td></tr><tr><td>Create Or Update Alias</td><td><code>indicesPutAlias</code></td><td>Add a data stream or index to an alias, creating the alias if it does not exist. Optionally restrict the alias with a filter query and control routing and which index is the write index.</td></tr><tr><td>Create or Update an ES|QL View</td><td><code>esqlPutView</code></td><td>Create or update a stored ES|QL view from an ES|QL query string. Requires the create_view index privilege.</td></tr><tr><td>Create or Update an Index Template</td><td><code>indicesPutIndexTemplate</code></td><td>Create or update an index template. Index templates define settings, mappings and aliases applied automatically to new indices and data stream backing indices whose names match index_patterns. Requires the manage_index_templates cluster privilege.</td></tr><tr><td>Create or Update an Ingest Pipeline</td><td><code>ingestPutPipeline</code></td><td>Create or update an ingest pipeline. Pipelines transform documents before they are indexed by running an ordered list of processors.</td></tr><tr><td>Create Or Update Component Template</td><td><code>clusterPutComponentTemplate</code></td><td>Create or update a component template. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases; an index template references them in its composed_of list. Component templates are only applied to new data streams and indices as part of a matching index template.</td></tr><tr><td>Create Or Update Connector</td><td><code>connectorPut</code></td><td>Create a new Elastic connector with a specific id, or update an existing one. Connectors are Elasticsearch integrations that bring content from third-party data sources into an index.</td></tr><tr><td>Create or Update Project Routing Expressions</td><td><code>projectCreateManyRouting</code></td><td>Create or update several named project routing expressions in one request. Requires the manage_project_routing or manage cluster privilege.</td></tr><tr><td>Delete a Behavioral Analytics Collection</td><td><code>searchApplicationDeleteBehavioralAnalytics</code></td><td>Delete a behavioral analytics collection. The data stream associated with the collection is deleted as well. Requires the manage_behavioral_analytics cluster privilege.</td></tr><tr><td>Delete a Connector Sync Job</td><td><code>connectorSyncJobDelete</code></td><td>Remove a connector sync job and its associated data. This is a destructive action that is not recoverable.</td></tr><tr><td>Delete a Logstash Pipeline</td><td><code>logstashDeletePipeline</code></td><td>Delete a pipeline that is used for Logstash Central Management. On success the response body is empty. Requires cluster privilege manage_logstash_pipelines.</td></tr><tr><td>Delete a Project Routing Expression</td><td><code>projectDeleteRouting</code></td><td>Delete a named project routing expression. Requires the manage_project_routing or manage cluster privilege.</td></tr><tr><td>Delete a Query Rule</td><td><code>queryRulesDeleteRule</code></td><td>Delete a single rule from a query ruleset, leaving the rest of the ruleset in place.</td></tr><tr><td>Delete a Query Ruleset</td><td><code>queryRulesDeleteRuleset</code></td><td>Delete a query ruleset and every rule it contains. Rule queries that reference the deleted ruleset will fail.</td></tr><tr><td>Delete a Role</td><td><code>securityDeleteRole</code></td><td>Delete a role from the native realm. Roles defined in role files cannot be removed with this API. Requires the manage_security cluster privilege.</td></tr><tr><td>Delete a Script or Search Template</td><td><code>deleteScript</code></td><td>Delete a stored script or search template by id. Requires the manage cluster privilege.</td></tr><tr><td>Delete a Search Application</td><td><code>searchApplicationDelete</code></td><td>Remove a search application and its associated alias. Indices attached to the search application are not removed. Requires the manage_search_application cluster privilege.</td></tr><tr><td>Delete a Service Account Token</td><td><code>securityDeleteServiceToken</code></td><td>Delete a service account token for a service in a namespace. On Serverless, non-operator users can delete tokens only for elastic/fleet-server and elastic/fleet-server-remote; anything else requires operator privileges. Requires the manage_service_account cluster privilege.</td></tr><tr><td>Delete a Synonym Rule</td><td><code>synonymsDeleteSynonymRule</code></td><td>Delete a single synonym rule from a synonym set. Requires the manage_search_synonyms cluster privilege.</td></tr><tr><td>Delete a Synonym Set</td><td><code>synonymsDeleteSynonym</code></td><td>Delete a synonym set. A set that is still referenced by an index analyzer cannot be deleted; remove the synonym token filter from the index first.</td></tr><tr><td>Delete a Transform</td><td><code>transformDeleteTransform</code></td><td>Delete a transform. Unless force is true the transform must be stopped first. Requires the manage_transform cluster privilege.</td></tr><tr><td>Delete Alias</td><td><code>indicesDeleteAlias</code></td><td>Remove one or more data streams or indices from an alias. Requires the manage index privilege.</td></tr><tr><td>Delete an Async EQL Search</td><td><code>eqlDelete</code></td><td>Delete an async EQL search or a stored synchronous EQL search, along with its results.</td></tr><tr><td>Delete an Async SQL Search</td><td><code>sqlDeleteAsync</code></td><td>Delete an async SQL search or a stored synchronous SQL search, together with its results.</td></tr><tr><td>Delete an Enrich Policy</td><td><code>enrichDeletePolicy</code></td><td>Delete an existing enrich policy and its enrich index.</td></tr><tr><td>Delete an ES|QL View</td><td><code>esqlDeleteView</code></td><td>Delete a stored ES|QL view. Requires the delete_view index privilege.</td></tr><tr><td>Delete an Index Template</td><td><code>indicesDeleteIndexTemplate</code></td><td>Delete one or more index templates. When several names are given as a comma-separated list they must match existing templates exactly; wildcards are only supported for a single name. Requires the manage_index_templates cluster privilege.</td></tr><tr><td>Delete an Inference Endpoint</td><td><code>inferenceDelete</code></td><td>Delete an inference endpoint. By default the request fails when the endpoint is referenced by a semantic_text field or an inference ingest pipeline; use force to delete it anyway, or dry_run to see which references exist.</td></tr><tr><td>Delete Async Search</td><td><code>asyncSearchDelete</code></td><td>If the asynchronous search is still running, it is cancelled. Otherwise, the saved search results are deleted. Deletion is restricted to the authenticated user that submitted the original search request or users with the cancel_task cluster privilege.</td></tr><tr><td>Delete Component Template</td><td><code>clusterDeleteComponentTemplate</code></td><td>Delete one or more component templates by name. Requires the manage_index_templates cluster privilege.</td></tr><tr><td>Delete Connector</td><td><code>connectorDelete</code></td><td>Remove an Elastic connector and optionally its associated sync jobs. This is a destructive action that is not recoverable. It does not delete any API keys, ingest pipelines, or data indices associated with the connector; those need to be removed separately.</td></tr><tr><td>Delete Data Streams</td><td><code>indicesDeleteDataStream</code></td><td>Delete one or more data streams and all of their backing indices. Requires the delete_index index privilege.</td></tr><tr><td>Delete Document</td><td><code>delete</code></td><td>Remove a JSON document from the specified index by id. You cannot send deletion requests directly to a data stream; target the backing index instead. Deletes can be made conditional with if_seq_no and if_primary_term, which return 409 on a mismatch.</td></tr><tr><td>Delete Documents by Query</td><td><code>deleteByQuery</code></td><td>Delete documents that match a query from one or more data streams, indices or aliases. Query criteria can be given as a Lucene query string in q or as Query DSL in query. Requires the read and delete (or write) index privileges on the target.</td></tr><tr><td>Delete Index</td><td><code>indicesDelete</code></td><td>Delete one or more indices along with their documents, shards and metadata. It does not delete related Kibana components such as data views or dashboards. You cannot delete the current write index of a data stream; roll the stream over first.</td></tr><tr><td>Delete Ingest Pipelines</td><td><code>ingestDeletePipeline</code></td><td>Delete one or more ingest pipelines. Supports a wildcard expression; use * to delete every pipeline.</td></tr><tr><td>Delete the Inference Region Policy</td><td><code>inferenceDeleteRegionPolicy</code></td><td>Delete the inference region policy configured for this deployment. Requires the manage_inference cluster privilege.</td></tr><tr><td>Evaluate Ranked Search Results</td><td><code>rankEval</code></td><td>Evaluate the quality of ranked search results over a set of typical search queries with known document ratings. Requires the read index privilege.</td></tr><tr><td>Explain a Data Stream Lifecycle</td><td><code>indicesExplainDataLifecycle</code></td><td>Get the current data stream lifecycle status of one or more indices, including time since index creation, time since rollover, the managing lifecycle configuration and any lifecycle execution errors.</td></tr><tr><td>Explain a Document Match</td><td><code>explain</code></td><td>Get information about why a specific document does or does not match a query, including the score explanation. Requires the read index privilege.</td></tr><tr><td>Find API Keys with a Query</td><td><code>securityQueryApiKeys</code></td><td>Get a paginated, optionally filtered and aggregated list of API keys. With only manage_own_api_key the response covers the caller's own keys; with read_security or higher it covers all keys.</td></tr><tr><td>Find Roles with a Query</td><td><code>securityQueryRole</code></td><td>Get roles from the native realm in a paginated, optionally filtered and sorted form. Roles defined in role files and built-in roles are not returned. Requires the read_security cluster privilege.</td></tr><tr><td>Get a Connector Sync Job</td><td><code>connectorSyncJobGet</code></td><td>Get a single connector sync job by its identifier, including its counters, timestamps, status and the connector it belongs to.</td></tr><tr><td>Get a Document Source</td><td><code>getSource</code></td><td>Get only the _source of a document, without the surrounding metadata. Source filtering parameters control which parts of the source are returned. Requires the read index privilege.</td></tr><tr><td>Get a Project Routing Expression</td><td><code>projectGetRouting</code></td><td>Get a single named project routing expression. Requires the read_project_routing or monitor cluster privilege.</td></tr><tr><td>Get a Query Rule</td><td><code>queryRulesGetRule</code></td><td>Get a single rule from a query ruleset.</td></tr><tr><td>Get a Query Ruleset</td><td><code>queryRulesGetRuleset</code></td><td>Get a query ruleset and all of the rules it contains.</td></tr><tr><td>Get a Reindex Task Status</td><td><code>getReindex</code></td><td>Get the status and progress of a specific reindex task. The API follows reindex tasks across node-shutdown relocations, so the original task id keeps working for the lifetime of the operation.</td></tr><tr><td>Get a Running ES|QL Query</td><td><code>esqlGetQuery</code></td><td>Get extended information about a single running ES|QL query, including its coordinating node and running time. Requires the monitor_esql cluster privilege.</td></tr><tr><td>Get a Script or Search Template</td><td><code>getScript</code></td><td>Retrieve a stored script or search template by id. Requires the manage cluster privilege.</td></tr><tr><td>Get a Search Application</td><td><code>searchApplicationGet</code></td><td>Get the details of a single search application, including its indices and its search template. Requires the manage_search_application cluster privilege.</td></tr><tr><td>Get a Synonym Rule</td><td><code>synonymsGetSynonymRule</code></td><td>Get a single synonym rule from a synonym set. Requires the manage_search_synonyms cluster privilege.</td></tr><tr><td>Get a Synonym Set</td><td><code>synonymsGetSynonym</code></td><td>Get the synonym rules contained in a synonym set, with paging. Requires the manage_search_synonyms cluster privilege.</td></tr><tr><td>Get All Project Routing Expressions</td><td><code>projectGetManyRouting</code></td><td>Get every project routing expression defined on this deployment, keyed by name. Requires the read_project_routing or monitor cluster privilege.</td></tr><tr><td>Get an ES|QL View</td><td><code>esqlGetView</code></td><td>Get one or more stored ES|QL views. Requires the read_view_metadata index privilege.</td></tr><tr><td>Get API Key Information</td><td><code>securityGetApiKey</code></td><td>Get information about one or more API keys. With only manage_own_api_key the response covers just the caller's own keys; with read_security or manage_api_key it covers all keys. Requires manage_own_api_key or read_security.</td></tr><tr><td>Get Async EQL Search Results</td><td><code>eqlGet</code></td><td>Get the current status and available results for an async EQL search or a stored synchronous EQL search.</td></tr><tr><td>Get Async Search Results</td><td><code>asyncSearchGet</code></td><td>Retrieve the results of a previously submitted asynchronous search request. If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.</td></tr><tr><td>Get Async Search Status</td><td><code>asyncSearchStatus</code></td><td>Get the status of a previously submitted async search request given its identifier, without retrieving search results. Access is restricted to the user or API key that submitted the original request, or users with the monitor cluster privilege.</td></tr><tr><td>Get Async SQL Search Results</td><td><code>sqlGetAsync</code></td><td>Get the results of an async SQL search or of a stored synchronous SQL search, by its id.</td></tr><tr><td>Get Behavioral Analytics Collections</td><td><code>searchApplicationGetBehavioralAnalytics</code></td><td>Get one or more behavioral analytics collections and their event data streams. Requires the manage_behavioral_analytics cluster privilege.</td></tr><tr><td>Get Built-in Privileges</td><td><code>securityGetBuiltinPrivileges</code></td><td>Get the cluster privileges and index privileges available in this version of Elasticsearch. Requires the manage_security cluster privilege.</td></tr><tr><td>Get CAT API Help</td><td><code>catHelp</code></td><td>Get the list of available CAT API endpoints as plain text, one endpoint path per line.</td></tr><tr><td>Get Cluster Info</td><td><code>info</code></td><td>Get basic build, version and cluster information. On Serverless, build_flavor is serverless and version.number is a compatibility placeholder rather than a deployed version. Requires the monitor cluster privilege.</td></tr><tr><td>Get Cluster Target Info</td><td><code>clusterInfo</code></td><td>Get basic information about the cluster for one or more targets: _all, http, ingest, thread_pool or script.</td></tr><tr><td>Get Component Templates</td><td><code>clusterGetComponentTemplate</code></td><td>Get information about one or more component templates. Omit the name to return all component templates. Requires the manage_index_templates cluster privilege.</td></tr><tr><td>Get Connector</td><td><code>connectorGet</code></td><td>Get the details of an Elastic connector (a content ingestion integration) by its id.</td></tr><tr><td>Get Data Stream Lifecycles</td><td><code>indicesGetDataLifecycle</code></td><td>Get the data stream lifecycle configuration, including retention and downsampling, of one or more data streams.</td></tr><tr><td>Get Data Stream Mappings</td><td><code>indicesGetDataStreamMappings</code></td><td>Get the mappings configured on one or more data streams, together with the effective mappings applied to their backing indices. Requires the view_index_metadata index privilege.</td></tr><tr><td>Get Data Stream Options</td><td><code>indicesGetDataStreamOptions</code></td><td>Get the data stream options configuration, such as the failure store settings, of one or more data streams.</td></tr><tr><td>Get Data Stream Settings</td><td><code>indicesGetDataStreamSettings</code></td><td>Get the settings configured on one or more data streams together with the effective settings applied to their backing indices. Requires the view_index_metadata index privilege.</td></tr><tr><td>Get Data Streams</td><td><code>indicesGetDataStream</code></td><td>Get information about one or more data streams, including their backing indices, generation and lifecycle. Requires the view_index_metadata index privilege.</td></tr><tr><td>Get Document</td><td><code>get</code></td><td>Get a document and its source or stored fields from an index by id. By default this API is realtime and is not affected by the refresh rate of the index; set realtime to false to turn that off.</td></tr><tr><td>Get Document Count (CAT)</td><td><code>catCount</code></td><td>Get quick access to a document count for a data stream, an index, or the entire cluster, returned as a JSON array with one row. The document count only includes live documents, not deleted documents that have not yet been removed by the merge process.</td></tr><tr><td>Get Enrich Policies</td><td><code>enrichGetPolicy</code></td><td>Get information about one or more enrich policies. Pass a comma-separated list of names, or * to return every enrich policy.</td></tr><tr><td>Get Field Capabilities</td><td><code>fieldCaps</code></td><td>Get the capabilities of fields across multiple indices: their type, whether they are searchable and aggregatable, and in which indices they appear. For data streams the API reports across the stream's backing indices. Runtime fields are included.</td></tr><tr><td>Get Grok Processor Patterns</td><td><code>ingestProcessorGrok</code></td><td>Get the built-in grok patterns that the grok ingest processor can use, as a map of pattern name to regular expression.</td></tr><tr><td>Get Index</td><td><code>indicesGet</code></td><td>Get information about one or more indices, including their aliases, mappings and settings. For data streams, the API returns information about the stream's backing indices. Requires the view_index_metadata or manage index privilege.</td></tr><tr><td>Get Index Aliases</td><td><code>indicesGetAlias</code></td><td>Retrieve information for one or more data stream or index aliases, including their filter and routing settings. Requires the view_index_metadata index privilege.</td></tr><tr><td>Get Index Mappings</td><td><code>indicesGetMapping</code></td><td>Get the field mapping definitions for one or more indices. For data streams, the API retrieves mappings for the stream's backing indices. Requires the view_index_metadata index privilege.</td></tr><tr><td>Get Index Settings</td><td><code>indicesGetSettings</code></td><td>Get setting information for one or more indices. For data streams, it returns setting information for the stream's backing indices. Requires the view_index_metadata index privilege.</td></tr><tr><td>Get Index Templates</td><td><code>indicesGetIndexTemplate</code></td><td>Get one or more index templates, including their index patterns, composed component templates and settings. Requires the manage_index_templates cluster privilege.</td></tr><tr><td>Get Inference Endpoints</td><td><code>inferenceGet</code></td><td>Get the configuration of one or more inference endpoints. Use _all as the inference id to list every endpoint of a task type.</td></tr><tr><td>Get Ingest Pipelines</td><td><code>ingestGetPipeline</code></td><td>Get one or more ingest pipelines by id. Supports wildcards; use * to return every pipeline.</td></tr><tr><td>Get License Information</td><td><code>licenseGet</code></td><td>Get information about the Elastic license on this deployment, including its type, status, issue date and expiry date.</td></tr><tr><td>Get Logstash Pipelines</td><td><code>logstashGetPipeline</code></td><td>Get pipelines that are used for Logstash Central Management. Requires cluster privilege manage_logstash_pipelines.</td></tr><tr><td>Get Multiple Documents</td><td><code>mget</code></td><td>Get multiple JSON documents by id in a single request, from one index (using ids) or across indices (using docs entries that each name their own _index). Responds with partial results if one or more shards fail.</td></tr><tr><td>Get Multiple Term Vectors</td><td><code>mtermvectors</code></td><td>Get term vectors for several documents in one request. Identify documents by id, or supply artificial documents inline. Requires the read index privilege.</td></tr><tr><td>Get Project Tags</td><td><code>projectTags</code></td><td>Get the tags defined for this project and for any linked projects, such as cloud service provider, region, organization and project type. Requires the read_project_routing or monitor cluster privilege.</td></tr><tr><td>Get Roles</td><td><code>securityGetRole</code></td><td>Get one or more roles from the native realm. Roles defined in role files are not returned. Requires the read_security cluster privilege.</td></tr><tr><td>Get Task Information</td><td><code>tasksGet</code></td><td>Get information about a task currently running in the cluster. A 404 means no task matches the identifier. The task management API is still a beta feature and may change in non-backwards-compatible ways. Requires the monitor cluster privilege.</td></tr><tr><td>Get Term Vector Information</td><td><code>termvectors</code></td><td>Get term information, term statistics and field statistics for the fields of a single document, either one stored in the index or an artificial document supplied in the request. Term statistics are excluded by default because they are expensive.</td></tr><tr><td>Get Terms in an Index</td><td><code>termsEnum</code></td><td>Discover indexed terms in a field that begin with a partial string, for low-latency auto-complete lookups. Terms from documents that are deleted but not yet merged away may still be returned.</td></tr><tr><td>Get the Async EQL Search Status</td><td><code>eqlGetStatus</code></td><td>Get the current status of an async EQL search or a stored synchronous EQL search without returning its results.</td></tr><tr><td>Get the Async SQL Search Status</td><td><code>sqlGetAsyncStatus</code></td><td>Get the current status of an async SQL search or of a stored synchronous SQL search, without returning its results.</td></tr><tr><td>Get the Inference Region Policy</td><td><code>inferenceGetRegionPolicy</code></td><td>Get the inference region policy configured for this deployment, which restricts which cloud regions or geographies inference requests may reach. Requires the monitor_inference cluster privilege.</td></tr><tr><td>Get Transform Node Stats</td><td><code>transformGetNodeStats</code></td><td>Get per-node information about transform usage, including how many transforms each node's scheduler has registered.</td></tr><tr><td>Get Transform Statistics</td><td><code>transformGetTransformStats</code></td><td>Get runtime usage information for one or more transforms, including state, checkpointing progress, health and indexing statistics. Requires the monitor_transform cluster privilege.</td></tr><tr><td>Get Transforms</td><td><code>transformGetTransform</code></td><td>Get the configuration of one or more transforms. Requires the monitor_transform cluster privilege.</td></tr><tr><td>Index Document</td><td><code>index</code></td><td>Add a JSON document to the specified data stream or index and make it searchable. If the target is an index and the document already exists, the request updates the document and increments its version. Omit the document id to let Elasticsearch generate one. You cannot use this action to update existing documents in a data stream. Requires the create, index, or write index privilege on the target.</td></tr><tr><td>Invalidate API Keys</td><td><code>securityInvalidateApiKey</code></td><td>Invalidate one or more API keys so they no longer authenticate. Invalidated keys remain visible to the get and query API key endpoints for the retention period. With only manage_own_api_key, the request must set owner true or match the caller's username and realm.</td></tr><tr><td>List Aliases (CAT)</td><td><code>catAliases</code></td><td>Get the cluster's index aliases, including filter and routing information, as a JSON array of rows (one per alias/index pair). This API does not return data stream aliases. Requires the view_index_metadata index privilege.</td></tr><tr><td>List All Inference Endpoints</td><td><code>inferenceGetAll</code></td><td>List every inference endpoint configured on the project, across all task types.</td></tr><tr><td>List Component Templates (CAT)</td><td><code>catComponentTemplates</code></td><td>Get information about component templates in a cluster as a JSON array of rows. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. Requires the monitor cluster privilege.</td></tr><tr><td>List Connector Sync Jobs</td><td><code>connectorSyncJobList</code></td><td>Get information about all stored connector sync jobs, listed by creation date in ascending order. Results can be narrowed by connector id, sync job status and job type.</td></tr><tr><td>List Connectors</td><td><code>connectorList</code></td><td>Get information about all Elastic connectors, optionally filtered by index name, connector name, service type or a wildcard query.</td></tr><tr><td>List Indices (CAT)</td><td><code>catIndices</code></td><td>Get high-level information about indices in a cluster as a JSON array of rows, including backing indices for data streams: health, status, shard count, document count, deleted document count and store sizes. Document counts come from Lucene and include hidden nested documents; use the count API for exact Elasticsearch document counts.</td></tr><tr><td>List Query Rulesets</td><td><code>queryRulesListRulesets</code></td><td>List the query rulesets defined on the project, with the number and types of rules in each.</td></tr><tr><td>List Running ES|QL Queries</td><td><code>esqlListQueries</code></td><td>List the ids and basic information of the ES|QL queries currently running on the project. Requires the monitor_esql cluster privilege.</td></tr><tr><td>List Running Reindex Tasks</td><td><code>listReindex</code></td><td>Get information about all currently running reindex tasks. A 200 response whose node_failures or task_failures arrays are non-empty is not a complete authoritative listing and may be missing tasks.</td></tr><tr><td>List Search Applications</td><td><code>searchApplicationList</code></td><td>List the search applications defined on this deployment, optionally filtered by a Lucene query string and paged. Requires the manage_search_application cluster privilege.</td></tr><tr><td>List Synonym Sets</td><td><code>synonymsGetSynonymsSets</code></td><td>Get a summary of every synonym set defined on the project, with the number of rules in each. Requires the manage_search_synonyms cluster privilege.</td></tr><tr><td>List Transforms (CAT)</td><td><code>catTransforms</code></td><td>Get configuration and usage information about transforms as a JSON array of rows. Requires the monitor_transform cluster privilege.</td></tr><tr><td>Modify Data Streams</td><td><code>indicesModifyDataStream</code></td><td>Perform one or more data stream modification actions, such as adding or removing a backing index, in a single atomic operation.</td></tr><tr><td>Open Point In Time</td><td><code>openPointInTime</code></td><td>Open a point in time (PIT): a lightweight, consistent view of the data as it existed when the PIT was created. Pass the returned id to subsequent searches so they all run against the same view; close it when finished.</td></tr><tr><td>Perform Completion Inference</td><td><code>inferenceCompletion</code></td><td>Get a text completion from an inference endpoint. Works only with the completion task type. Requires the monitor_inference cluster privilege.</td></tr><tr><td>Perform Dense Embedding Inference</td><td><code>inferenceEmbedding</code></td><td>Generate dense vector embeddings from an inference endpoint. Works with embedding task types and returns float, byte or bit embeddings depending on the model.</td></tr><tr><td>Perform Reranking Inference</td><td><code>inferenceRerank</code></td><td>Rerank a set of documents against a query using a rerank inference endpoint. Returns each document's original index and relevance score. Requires the monitor_inference cluster privilege.</td></tr><tr><td>Perform Sparse Embedding Inference</td><td><code>inferenceSparseEmbedding</code></td><td>Generate sparse vector embeddings (token weight maps) from a sparse_embedding inference endpoint, such as an ELSER endpoint.</td></tr><tr><td>Perform Streaming Completion Inference</td><td><code>inferenceStreamCompletion</code></td><td>Get a completion from an inference endpoint delivered incrementally as a server-sent event stream. Works only with the completion task type and requires a streaming-capable client. Requires the monitor_inference cluster privilege.</td></tr><tr><td>Perform Text Embedding Inference</td><td><code>inferenceTextEmbedding</code></td><td>Generate text embeddings from a text_embedding inference endpoint. Returns float, byte or bit vectors depending on the model.</td></tr><tr><td>Perform Unified Chat Completion Inference</td><td><code>inferenceChatCompletionUnified</code></td><td>Get real-time chat completion responses from an inference endpoint, delivered incrementally as a server-sent event stream. Works only with the chat_completion task type and supports function calling and richer customization than the standard completion API.</td></tr><tr><td>Preview a Saved Transform</td><td><code>transformPreviewTransformById</code></td><td>Preview up to 100 rows of the results an already-saved transform would produce, plus the mappings and settings that would be generated for its destination index. To preview a configuration that has not been saved, use Preview a Transform Configuration. Requires the manage_transform cluster privilege.</td></tr><tr><td>Preview a Transform Configuration</td><td><code>transformPreviewTransform</code></td><td>Preview up to 100 rows of the results a transform with the supplied configuration would produce, plus the mappings and settings that would be generated for the destination index. Nothing is created. To preview an already-saved transform instead, use Preview a Saved Transform. Requires the manage_transform cluster privilege.</td></tr><tr><td>Refresh Index</td><td><code>indicesRefresh</code></td><td>Make recent operations performed on one or more indices available for search. For data streams, the API runs the refresh on the stream's backing indices. Elasticsearch also refreshes periodically based on the index.refresh_interval setting.</td></tr><tr><td>Reindex Documents</td><td><code>reindex</code></td><td>Copy documents from a source index, alias or data stream into a different destination. The destination must already be configured as wanted; reindex copies neither settings nor mappings. Requires read on the source and write on the destination.</td></tr><tr><td>Remove an Index Block</td><td><code>indicesRemoveBlock</code></td><td>Remove an index block from one or more indices, restoring the blocked operation type.</td></tr><tr><td>Render a Search Template</td><td><code>renderSearchTemplate</code></td><td>Render a search template into the search request body it would produce, without running the search. Supply either the id of a stored template or an inline source template, plus the parameters to substitute. Requires the read index privilege.</td></tr><tr><td>Reset a Transform</td><td><code>transformResetTransform</code></td><td>Reset a transform to its initial state. The transform must be stopped first unless force is true. If the destination index was created by the transform it is deleted. Requires the manage_transform cluster privilege.</td></tr><tr><td>Resolve Indices</td><td><code>indicesResolveIndex</code></td><td>Resolve the names and index patterns supplied into the concrete indices, aliases and data streams they match. Multiple patterns and remote clusters using the cluster:name syntax are supported. Requires the view_index_metadata index privilege.</td></tr><tr><td>Roll Over to a New Index</td><td><code>indicesRollover</code></td><td>Create a new index for a data stream or index alias. If the rollover target is a data stream, the API creates a new write index for the stream and the previous write index becomes a regular backing index. If the target is an index alias with a write index, a new write index is created. Serverless does not support Index Lifecycle Management, so rollovers must be performed with this API, and on Serverless the conditions field is rejected - roll over unconditionally instead.</td></tr><tr><td>Run a Painless Script</td><td><code>scriptsPainlessExecute</code></td><td>Run a Painless script and return its result. Useful for building and testing scripts, for example when defining a runtime field. The context controls how the script runs, what variables are available and what the return type is.</td></tr><tr><td>Run a Search Application Search</td><td><code>searchApplicationSearch</code></td><td>Run a search against a search application. Elasticsearch generates the query from the application's search template, substituting the supplied parameters and falling back to the template defaults for anything unspecified.</td></tr><tr><td>Run a Search with a Search Template</td><td><code>searchTemplate</code></td><td>Run a search using a stored or inline Mustache search template, substituting the supplied parameters. Requires the read index privilege.</td></tr><tr><td>Run an Enrich Policy</td><td><code>enrichExecutePolicy</code></td><td>Create the enrich index for an existing enrich policy, making the policy usable in an enrich ingest processor.</td></tr><tr><td>Run an EQL Search</td><td><code>eqlSearch</code></td><td>Run an Event Query Language (EQL) search against one or more indices or data streams. EQL assumes each document corresponds to an event.</td></tr><tr><td>Run an ES|QL Query</td><td><code>esqlQuery</code></td><td>Run an ES|QL (Elasticsearch Query Language) query and get its results as columns and values. Requires the read index privilege on the queried indices.</td></tr><tr><td>Run an Inference Request</td><td><code>inferenceInference</code></td><td>Run an inference request through a configured endpoint. The shape of the response depends on the task type of the endpoint.</td></tr><tr><td>Run an SQL Query</td><td><code>sqlQuery</code></td><td>Run an SQL query against Elasticsearch and get the results as columns and rows. Pass a cursor to fetch the next page, and keep_on_completion with wait_for_completion_timeout to run the query asynchronously.</td></tr><tr><td>Run Async Search</td><td><code>asyncSearchSubmit</code></td><td>Submit a search that runs asynchronously and returns an id that can be used to poll for results or status. Partial results become available while the search runs. Asynchronous search does not support scroll or search requests that include only the suggest section. Omit the index to search all indices.</td></tr><tr><td>Run Multiple Searches</td><td><code>msearch</code></td><td>Run several searches in one request using the newline-delimited JSON (NDJSON) format: a header line and a body line per search, with a trailing newline. Requires the read index privilege.</td></tr><tr><td>Run Multiple Templated Searches</td><td><code>msearchTemplate</code></td><td>Run several search templates in one request using the newline-delimited JSON (NDJSON) format: a header line naming the index and a body line giving the template id and params, with a trailing newline. Requires the read index privilege.</td></tr><tr><td>Schedule a Transform to Run Now</td><td><code>transformScheduleNowTransform</code></td><td>Run a transform immediately rather than waiting for its configured frequency interval. After this call the transform is processed again at now plus frequency. Requires the manage_transform cluster privilege.</td></tr><tr><td>Search a Vector Tile</td><td><code>searchMvt</code></td><td>Search geospatial data and return the results as a binary Mapbox vector tile for the given zoom, x and y coordinates. The field must be a geo_point or geo_shape field.</td></tr><tr><td>Search Documents</td><td><code>search</code></td><td>Get search hits that match the query defined in the request. You can provide search queries using the q query string parameter or the request body (query, knn, retriever, aggregations, sort, and so on). If both are specified, only the query parameter is used. Omit the index to search all data streams and indices. Requires the read index privilege for the target data stream, index, or alias.</td></tr><tr><td>Simulate an Index</td><td><code>indicesSimulateIndexTemplate</code></td><td>Get the index configuration that would be applied to the specified index by the matching index templates. Requires the manage_index_templates cluster privilege.</td></tr><tr><td>Simulate an Index Template</td><td><code>indicesSimulateTemplate</code></td><td>Get the index configuration that would be applied by a particular index template. Requires the manage_index_templates cluster privilege.</td></tr><tr><td>Simulate an Ingest Pipeline</td><td><code>ingestSimulate</code></td><td>Run sample documents through an ingest pipeline and see the result, without indexing anything. Supply an existing pipeline id, or a pipeline definition in the body to test one that is not stored yet.</td></tr><tr><td>Start a Transform</td><td><code>transformStartTransform</code></td><td>Start a transform, creating the destination index if it does not exist. A pivot transform deduces the destination mappings from the source indices and its aggregations; a latest transform uses dynamic mappings. Create the destination index first if explicit mappings are needed. Requires the manage_transform cluster privilege.</td></tr><tr><td>Stop Transforms</td><td><code>transformStopTransform</code></td><td>Stop one or more transforms. Use a comma-separated list or a wildcard for several, or _all for every transform. Requires the manage_transform cluster privilege.</td></tr><tr><td>Test a Query Ruleset</td><td><code>queryRulesTest</code></td><td>Evaluate a query ruleset against supplied match criteria and see which rules would fire, without running a search.</td></tr><tr><td>Throttle a Reindex Operation</td><td><code>reindexRethrottle</code></td><td>Change the maximum number of documents indexed per second for a running reindex task. Speeding a task up takes effect immediately; slowing it down takes effect after the current batch. A 200 response with non-empty node_failures or task_failures means the rethrottle was not applied.</td></tr><tr><td>Translate SQL to Query DSL</td><td><code>sqlTranslate</code></td><td>Translate an SQL query into the equivalent Elasticsearch Query DSL search request, without running it.</td></tr><tr><td>Update a Transform</td><td><code>transformUpdateTransform</code></td><td>Update properties of an existing transform. Every change except description takes effect only at the next checkpoint, keeping each checkpoint internally consistent. Requires read, index and view_index_metadata index privileges plus manage_transform.</td></tr><tr><td>Update Aliases In Bulk</td><td><code>indicesUpdateAliases</code></td><td>Perform one or more alias actions atomically in a single request: add an index or data stream to an alias, remove it from an alias, or remove an index entirely. Useful for swapping an alias between indices with no downtime.</td></tr><tr><td>Update an API Key</td><td><code>securityUpdateApiKey</code></td><td>Update the access scope, expiration or metadata of an existing API key. An API key cannot be used as the credential for this request; the owner user's credentials are required. Expired or invalidated keys cannot be updated. Requires the manage_own_api_key cluster privilege.</td></tr><tr><td>Update an Inference Endpoint</td><td><code>inferenceUpdate</code></td><td>Update the service settings or task settings of an existing inference endpoint. The service itself cannot be changed.</td></tr><tr><td>Update Data Stream Lifecycles</td><td><code>indicesPutDataLifecycle</code></td><td>Set the data stream lifecycle of one or more data streams, controlling retention, downsampling and whether the lifecycle is enabled.</td></tr><tr><td>Update Data Stream Mappings</td><td><code>indicesPutDataStreamMappings</code></td><td>Override the mappings of specific data streams. The overrides take precedence over the matching index template and are applied to new write indices created by the next rollover; existing indices are not changed. Requires the manage index privilege.</td></tr><tr><td>Update Data Stream Options</td><td><code>indicesPutDataStreamOptions</code></td><td>Update the data stream options, such as the failure store configuration and its lifecycle, of the specified data streams.</td></tr><tr><td>Update Data Stream Settings</td><td><code>indicesPutDataStreamSettings</code></td><td>Override settings on specific data streams. The overrides take precedence over the matching index template. Elasticsearch only accepts a restricted set of settings on a data stream and rejects the rest with an explicit error; where possible the change is applied to all backing indices, otherwise only to future ones. Use dry_run to preview the outcome.</td></tr><tr><td>Update Document</td><td><code>update</code></td><td>Update a document by merging in a partial document or by running a script. The script can update, delete or skip modifying the document. Use upsert or doc_as_upsert to insert the document when it does not exist. To fully replace a document, use Index Document instead.</td></tr><tr><td>Update Documents by Query</td><td><code>updateByQuery</code></td><td>Update every document matching a query, optionally via a script. With no query, every document is reindexed without changing its source, which is how mapping changes are picked up. Requires read and index or write privileges on the target.</td></tr><tr><td>Update Index Mappings</td><td><code>indicesPutMapping</code></td><td>Add new fields to an existing data stream or index, add properties to an object field, enable multi-fields, or update supported mapping parameters. Existing field types cannot be changed in place; reindex instead.</td></tr><tr><td>Update Index Settings</td><td><code>indicesPutSettings</code></td><td>Change dynamic index settings in real time. For data streams the change is applied to all backing indices by default. Send a setting as null to revert it to its default, or set preserve_existing to true to leave already-set values untouched. Settings can be sent nested under index or as top-level shortcuts.</td></tr><tr><td>Update the Connector API Key ID</td><td><code>connectorUpdateApiKeyId</code></td><td>Update the api_key_id and api_key_secret_id fields of a connector. The connector secret id is required only for Elastic managed (native) connectors; self-managed connector clients do not use it.</td></tr><tr><td>Update the Connector Configuration</td><td><code>connectorUpdateConfiguration</code></td><td>Update the configuration field in the connector document. Send configuration to replace the full configuration schema, or values to set only the values of existing configuration keys.</td></tr><tr><td>Update the Connector Draft Filtering Validation</td><td><code>connectorUpdateFilteringValidation</code></td><td>Update the draft filtering validation info for a connector, recording whether the draft sync rules are valid.</td></tr><tr><td>Update the Connector Error Field</td><td><code>connectorUpdateError</code></td><td>Set the error field for a connector. If the error provided is non-null the connector status becomes error; resetting the error to null returns the status to connected.</td></tr><tr><td>Update the Connector Filtering</td><td><code>connectorUpdateFiltering</code></td><td>Update the draft filtering configuration of a connector and mark the draft validation state as edited. The draft is activated once validated by the running Elastic connector service. Use filtering to replace the whole filtering array, or rules and advanced_snippet to set the draft directly.</td></tr><tr><td>Update the Connector Index Name</td><td><code>connectorUpdateIndexName</code></td><td>Update the index_name field of a connector, specifying the index where the data ingested by the connector is stored.</td></tr><tr><td>Update the Connector Ingest Pipeline</td><td><code>connectorUpdatePipeline</code></td><td>Update the ingest pipeline settings used by a connector when it indexes documents. A new connector starts with default pipeline settings.</td></tr><tr><td>Update the Connector Name and Description</td><td><code>connectorUpdateName</code></td><td>Update the display name and description of a connector.</td></tr><tr><td>Update the Connector Native Flag</td><td><code>connectorUpdateNative</code></td><td>Update the is_native flag of a connector, marking it as an Elastic managed (native) connector or a self-managed connector client.</td></tr><tr><td>Update the Connector Scheduling</td><td><code>connectorUpdateScheduling</code></td><td>Update the sync schedules of a connector for full, incremental and access control syncs. Each schedule carries an enabled flag and a cron interval.</td></tr><tr><td>Update the Connector Service Type</td><td><code>connectorUpdateServiceType</code></td><td>Update the service_type of a connector, which selects the data source the connector reads from.</td></tr><tr><td>Update the Connector Status</td><td><code>connectorUpdateStatus</code></td><td>Update the lifecycle status of a connector.</td></tr><tr><td>Validate Query</td><td><code>indicesValidateQuery</code></td><td>Validate a query without running it, reporting whether it is well formed and, with explain enabled, why it is not. Accepts a Query DSL body or a Lucene query string.</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/data-database/elasticsearch.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
