Note: Replace
"query"
with your OpenSearch DSL query defining the search criteria. The response will contain a list of profile IDs matching the search criteria, that can be later used in the Fetch endpointPagination
When making requests to the Search endpoint, pagination can be utilized to retrieve large sets of search results efficiently. As shown in the above API response, it will contain a pagination token that should be used in subsequent requests to fetch the next page of results. Below is an example query that will query the next 5 records using the pagination token:Authorizations
Body
application/json
Search query in the ElasticSearch Query DSL format. Find mapping here
Limit the number of results. If you want to use stable_pagination this parameter must be set to 1000
Required range:
x <= 1000
Pagination token received in the previous response
When set to true, ensures that pagination results remain consistent, even if the underlying data changes during retrieval. This is useful for retrieving large result sets reliably across multiple requests