Elasticsearch Serverless supports open source APIs. This topic describes the API URIs and corresponding methods that are supported by log analysis applications.
Precautions
Results from API operations that retrieve metadata, such as
GET _cat/indicesandGET {index}, may be inconsistent with those from open source Elasticsearch 7.10. These inconsistencies will be resolved in future updates.Use API operations not listed in this topic with caution. Elasticsearch Serverless applications may return mock data for certain unavailable API operations, such as
/_cluster/health,/{index}/_ilm/explain, and/_xpack. The results returned are not actual business data.Use asynchronous task APIs, such as Scroll, Async_search, and Task, with caution. These APIs may fail because of auto-scaling. Therefore, do not retain their task IDs for extended periods. If a task ID becomes invalid, submit a new request. Do not retry the original request.
Compact and aligned text (CAT) APIs
API URI | Applicable Method |
GET | |
GET | |
GET | |
GET |
Document APIs
API URI | Applicable Method |
PUT, POST | |
PUT, POST | |
POST | |
POST, GET | |
POST | |
PUT, POST | |
POST, GET |
Index APIs
API URI | Applicable Method |
POST, GET | |
POST, GET | |
PUT, POST | |
PUT, GET | |
PUT, POST, GET, HEAD | |
GET | |
PUT, POST, DELETE | |
GET, HEAD | |
PUT, POST | |
GET | |
PUT, POST | |
GET | |
GET | |
PUT, GET, HEAD, DELETE | |
PUT , GET, HEAD | |
GET, HEAD | |
PUT, POST, DELETE | |
PUT, POST, DELETE | |
POST, GET | |
PUT | |
GET | |
PUT, POST | |
PUT, POST, HEAD | |
GET | |
PUT, POST | |
PUT, POST | |
PUT, GET | |
PUT, POST | |
PUT, POST | |
GET | |
PUT, POST, GET, HEAD, DELETE | |
PUT, GET | |
GET | |
PUT, POST, GET, HEAD, DELETE |
Search APIs
API URI | Applicable Method |
POST | |
GET, DELETE | |
POST, GET | |
POST, GET | |
GET | |
POST, GET | |
POST, GET | |
POST, GET, DELETE | |
POST, GET | |
POST | |
POST, GET | |
POST, GET | |
POST, GET | |
POST, GET | |
POST, GET | |
POST, GET | |
POST, GET | |
POST, GET | |
POST, GET |
Other supported APIs
API URI | Applicable Method |
GET | |
POST | |
GET | |
POST | |
POST, GET |
If you have questions about the APIs in this topic, you can submit a ticket or contact us through the ES Serverless user group (DingTalk group number: 11205017670 or 72335013004). In your request, please specify the API that you need to use and describe your scenario.