Show Menu
Search…
Ctrl+K
ESC
Example searches: “Analyze”, “Check aliases”, “index”, “master_timeout”, “Alias”
Toggle dark mode
Elastic APIs hub
Elastic Cloud API
Elastic Cloud Serverless API
Elasticsearch Serverless API
Kibana API
Kibana Serverless API
Observability Intake Serverless API
Back to hub page
API Changelog
Download source
JSON OpenAPI specification
YAML OpenAPI specification
Feedback
Topics
Introduction
Endpoints
Alias
Get aliases
GET
Check aliases
HEAD
Get aliases
GET
Get aliases
GET
Aliases
Create or update an alias
POST
Analyze
Performs analysis on a text string and returns the resulting tokens
GET
Performs analysis on a text string and returns the resulting tokens
POST
Performs analysis on a text string and returns the resulting tokens
GET
Performs analysis on a text string and returns the resulting tokens
POST
Application
Returns the details about a search application
GET
Creates or updates a search application
PUT
Deletes a search application
DELETE
Returns the existing behavioral analytics collections
GET
Creates a behavioral analytics collection
PUT
Delete a behavioral analytics collection
DELETE
Returns the existing behavioral analytics collections
GET
Returns the existing search applications
GET
Perform a search against a search application
GET
Perform a search against a search application
POST
Async search
Retrieves the results of a previously submitted async search request given its identifier
GET
Deletes an async search by identifier
DELETE
Get async search status
GET
Runs a search request asynchronously
POST
Runs a search request asynchronously
POST
Bulk
Bulk index or delete documents
PUT
Bulk index or delete documents
POST
Bulk index or delete documents
PUT
Bulk index or delete documents
POST
Cat
Get aliases
GET
Get aliases
GET
Get component templates
GET
Get component templates
GET
Get a document count
GET
Get a document count
GET
Get CAT help
GET
Get index information
GET
Get index information
GET
Get data frame analytics jobs
GET
Get data frame analytics jobs
GET
Get datafeeds
GET
Get datafeeds
GET
Get anomaly detection jobs
GET
Get anomaly detection jobs
GET
Get trained models
GET
Get trained models
GET
Get transforms
GET
Get transforms
GET
Component template
Get component templates
GET
Create or update a component template
PUT
Create or update a component template
POST
Delete component templates
DELETE
Check component templates
HEAD
Get component templates
GET
Connector
Updates the last_seen field in the connector, and sets it to current timestamp
PUT
Retrieves a connector
GET
Creates or updates a connector
PUT
Deletes a connector
DELETE
Returns existing connectors
GET
Creates or updates a connector
PUT
Creates a connector
POST
Cancels a connector sync job
PUT
Retrieves a connector sync job
GET
Deletes a connector sync job
DELETE
Lists connector sync jobs
GET
Creates a connector sync job
POST
Activates the valid draft filtering for a connector
PUT
Updates the API key id in the connector document
PUT
Updates the configuration field in the connector document
PUT
Updates the filtering field in the connector document
PUT
Updates the filtering field in the connector document
PUT
Updates the draft filtering validation info for a connector
PUT
Updates the index_name in the connector document
PUT
Updates the name and description fields in the connector document
PUT
Updates the is_native flag in the connector document
PUT
Updates the pipeline field in the connector document
PUT
Updates the scheduling field in the connector document
PUT
Updates the service type of the connector
PUT
Updates the status of the connector
PUT
Count
Returns number of documents matching a query
GET
Returns number of documents matching a query
POST
Returns number of documents matching a query
GET
Returns number of documents matching a query
POST
Data stream
Get data streams
GET
Create a data stream
PUT
Delete data streams
DELETE
Get data stream stats
GET
Get data stream stats
GET
Get data stream lifecycles
GET
Update data stream lifecycles
PUT
Delete data stream lifecycles
DELETE
Get data streams
GET
Convert an index alias to a data stream
POST
Update data streams
POST
Delete by query
Delete documents
POST
Doc
Index a document
POST
Enrich
Get an enrich policy
GET
Create an enrich policy
PUT
Delete an enrich policy
DELETE
Creates the enrich index for an existing enrich policy
PUT
Get an enrich policy
GET
Get enrich stats
GET
Eql
Returns the current status and available results for an async EQL search or a stored synchronous EQL search
GET
Deletes an async EQL search or a stored synchronous EQL search
DELETE
Returns the current status for an async EQL search or a stored synchronous EQL search without returning results
GET
Returns results matching a query expressed in Event Query Language (EQL)
GET
Returns results matching a query expressed in Event Query Language (EQL)
POST
Field caps
The field capabilities API returns the information about the capabilities of fields among multiple indices
GET
The field capabilities API returns the information about the capabilities of fields among multiple indices
POST
The field capabilities API returns the information about the capabilities of fields among multiple indices
GET
The field capabilities API returns the information about the capabilities of fields among multiple indices
POST
Graph
Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index
GET
Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index
POST
Index template
Get index templates
GET
Create or update an index template
PUT
Create or update an index template
POST
Delete an index template
DELETE
Returns information about whether a particular index template exists
HEAD
Get index templates
GET
Simulate an index
POST
Simulate an index template
POST
Simulate an index template
POST
Inference
Get an inference endpoint
GET
Create an inference endpoint
PUT
Perform inference on the service
POST
Delete an inference endpoint
DELETE
Get an inference endpoint
GET
Create an inference endpoint
PUT
Perform inference on the service
POST
Delete an inference endpoint
DELETE
Get an inference endpoint
GET
Info
Get cluster info
GET
Ingest
Returns information about one or more ingest pipelines
GET
Creates or updates an ingest pipeline
PUT
Deletes one or more existing ingest pipeline
DELETE
Returns information about one or more ingest pipelines
GET
Extracts structured fields out of a single text field within a document
GET
Executes an ingest pipeline against a set of provided documents
GET
Executes an ingest pipeline against a set of provided documents
POST
Executes an ingest pipeline against a set of provided documents
GET
Executes an ingest pipeline against a set of provided documents
POST
License
Get license information
GET
Lifecycle
Get the status for a data stream lifecycle
GET
Logstash
Retrieves pipelines used for Logstash Central Management
GET
Creates or updates a pipeline used for Logstash Central Management
PUT
Deletes a pipeline used for Logstash Central Management
DELETE
Retrieves pipelines used for Logstash Central Management
GET
Mapping
Get mapping definitions
GET
Get mapping definitions
GET
Update field mappings
PUT
Update field mappings
POST
Mget
Allows to get multiple documents in one request
GET
Allows to get multiple documents in one request
POST
Allows to get multiple documents in one request
GET
Allows to get multiple documents in one request
POST
Ml
Close anomaly detection jobs
POST
Get calendar configuration info
GET
Create a calendar
PUT
Get calendar configuration info
POST
Delete a calendar
DELETE
Delete events from a calendar
DELETE
Add anomaly detection job to calendar
PUT
Delete anomaly jobs from a calendar
DELETE
Get data frame analytics job configuration info
GET
Create a data frame analytics job
PUT
Delete a data frame analytics job
DELETE
Get datafeeds configuration info
GET
Create a datafeed
PUT
Delete a datafeed
DELETE
Get filters
GET
Create a filter
PUT
Delete a filter
DELETE
Get anomaly detection jobs configuration info
GET
Create an anomaly detection job
PUT
Delete an anomaly detection job
DELETE
Get trained model configuration info
GET
Create a trained model
PUT
Delete an unreferenced trained model
DELETE
Create or update a trained model alias
PUT
Delete a trained model alias
DELETE
Estimate job model memory usage
POST
Evaluate data frame analytics
POST
Force buffered data to be processed
POST
Get info about events in calendars
GET
Add scheduled events to the calendar
POST
Get calendar configuration info
GET
Get calendar configuration info
POST
Get data frame analytics job configuration info
GET
Get data frame analytics jobs usage info
GET
Get data frame analytics jobs usage info
GET
Get datafeeds usage info
GET
Get datafeeds usage info
GET
Get datafeeds configuration info
GET
Get filters
GET
Get anomaly detection jobs usage info
GET
Get anomaly detection jobs usage info
GET
Get anomaly detection jobs configuration info
GET
Get overall bucket results
GET
Get overall bucket results
POST
Get trained model configuration info
GET
Get trained models usage info
GET
Get trained models usage info
GET
Evaluate a trained model
POST
Evaluate a trained model
POST
Open anomaly detection jobs
POST
Preview features used by data frame analytics
GET
Preview features used by data frame analytics
POST
Preview features used by data frame analytics
GET
Preview features used by data frame analytics
POST
Preview a datafeed
GET
Preview a datafeed
POST
Preview a datafeed
GET
Preview a datafeed
POST
Create part of a trained model definition
PUT
Create a trained model vocabulary
PUT
Reset an anomaly detection job
POST
Start a data frame analytics job
POST
Start datafeeds
POST
Start a trained model deployment
POST
Stop data frame analytics jobs
POST
Stop datafeeds
POST
Stop a trained model deployment
POST
Update a data frame analytics job
POST
Update a datafeed
POST
Update a filter
POST
Update an anomaly detection job
POST
Update a trained model deployment
POST
Msearch
Allows to execute several search operations in one request
GET
Allows to execute several search operations in one request
POST
Allows to execute several search operations in one request
GET
Allows to execute several search operations in one request
POST
Runs multiple templated searches with a single request
GET
Runs multiple templated searches with a single request
POST
Runs multiple templated searches with a single request
GET
Runs multiple templated searches with a single request
POST
Mtermvectors
Returns multiple termvectors in one request
GET
Returns multiple termvectors in one request
POST
Returns multiple termvectors in one request
GET
Returns multiple termvectors in one request
POST
Pit
Closes a point-in-time
DELETE
A search request by default executes against the most recent visible data of the target indices,
POST
Query
Executes an ES|QL request
POST
Query rules
Returns the details about a query rule within a query ruleset
GET
Creates or updates a query rule within a query ruleset
PUT
Deletes a query rule within a query ruleset
DELETE
Returns the details about a query ruleset
GET
Creates or updates a query ruleset
PUT
Deletes a query ruleset
DELETE
Returns summarized information about existing query rulesets
GET
Rank eval
Enables you to evaluate the quality of ranked search results over a set of typical search queries
GET
Enables you to evaluate the quality of ranked search results over a set of typical search queries
POST
Enables you to evaluate the quality of ranked search results over a set of typical search queries
GET
Enables you to evaluate the quality of ranked search results over a set of typical search queries
POST
Refresh
Refresh an index
GET
Refresh an index
POST
Refresh an index
GET
Refresh an index
POST
Reindex
Reindex documents
POST
Render
Renders a search template as a search request body
GET
Renders a search template as a search request body
POST
Renders a search template as a search request body
GET
Renders a search template as a search request body
POST
Resolve
Resolves the specified name(s) and/or index patterns for indices, aliases, and data streams
GET
Rollover
Roll over to a new index
POST
Root
Index a document
PUT
Index a document
POST
Get a document by its ID
GET
Index a document
PUT
Index a document
POST
Delete a document
DELETE
Check a document
HEAD
Get a document's source
GET
Check for a document source
HEAD
Explain a document match result
GET
Explain a document match result
POST
Add an index block
PUT
Get index information
GET
Create an index
PUT
Delete indices
DELETE
Check indices
HEAD
Get aliases
GET
Create or update an alias
PUT
Create or update an alias
POST
Delete an alias
DELETE
Check aliases
HEAD
Create or update an alias
PUT
Create or update an alias
POST
Delete an alias
DELETE
Get index settings
GET
Roll over to a new index
POST
Get cluster info
GET
Ping the cluster
HEAD
Search a vector tile
GET
Search a vector tile
POST
Get term vector information
GET
Get term vector information
POST
Update a document
POST
Scripts
Get a script or search template
GET
Create or update a script or search template
PUT
Create or update a script or search template
POST
Delete a script or search template
DELETE
Create or update a script or search template
PUT
Create or update a script or search template
POST
Run a script
GET
Run a script
POST
Search
Allows to retrieve a large numbers of results from a single search request
GET
Allows to retrieve a large numbers of results from a single search request
POST
Clears the search context and results for a scrolling search
DELETE
Allows to retrieve a large numbers of results from a single search request
GET
Allows to retrieve a large numbers of results from a single search request
POST
Clears the search context and results for a scrolling search
DELETE
Returns search hits that match the query defined in the request
GET
Returns search hits that match the query defined in the request
POST
Returns search hits that match the query defined in the request
GET
Returns search hits that match the query defined in the request
POST
Runs a search with a search template
GET
Runs a search with a search template
POST
Runs a search with a search template
GET
Runs a search with a search template
POST
Security
Authenticate a user
GET
Get API key information
GET
Create an API key
PUT
Create an API key
POST
Invalidate API keys
DELETE
Check user privileges
GET
Check user privileges
POST
Check user privileges
GET
Check user privileges
POST
Query API keys
GET
Query API keys
POST
Update an API key
PUT
Settings
Get index settings
GET
Update index settings
PUT
Get index settings
GET
Update index settings
PUT
Get index settings
GET
Sql
Clears the SQL cursor
POST
Deletes an async SQL search or a stored synchronous SQL search
DELETE
Returns the current status and available results for an async SQL search or stored synchronous SQL search
GET
Returns the current status of an async SQL search or a stored synchronous SQL search
GET
Executes a SQL request
GET
Executes a SQL request
POST
Translates SQL into Elasticsearch queries
GET
Translates SQL into Elasticsearch queries
POST
Synonyms
Retrieves a synonym set
GET
Creates or updates a synonym set
PUT
Deletes a synonym set
DELETE
Retrieves a synonym rule from a synonym set
GET
Creates or updates a synonym rule in a synonym set
PUT
Deletes a synonym rule in a synonym set
DELETE
Retrieves a summary of all defined synonym sets
GET
Tasks
Get task information
GET
Template
Create or update an index template
PUT
Create or update an index template
POST
Terms enum
The terms enum API can be used to discover terms in the index that begin with the provided string
GET
The terms enum API can be used to discover terms in the index that begin with the provided string
POST
Termvectors
Get term vector information
GET
Get term vector information
POST
Transform
Get transforms
GET
Create a transform
PUT
Delete a transform
DELETE
Get transforms
GET
Get transform stats
GET
Preview a transform
GET
Preview a transform
POST
Preview a transform
GET
Preview a transform
POST
Reset a transform
POST
Schedule a transform to start now
POST
Start a transform
POST
Stop transforms
POST
Update a transform
POST
Update by query
Update documents
POST
Validate
Validate a query
GET
Validate a query
POST
Validate a query
GET
Validate a query
POST
Dismiss highlight
Show more
Template