Count Documents Satisfying a Query
POST {{baseUrl}}/search/count
Performs a search with a provided query and returns the count of results in the X-Total-Count header.
Request Body
{"indices"=>["identities"], "query"=>{"query"=>"created: [2022-05-19T19:26:03.351Z TO now]", "timeZone"=>"America/Los_Angeles"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |