search

POST /search/count

Changed on

Batch-count matching entries for up to 32 filter combinations in one round trip, in request order. Powers the composite search box's per-candidate hit counts and the zero-result "try removing this chip" suggestions — both need many small counts without paginated items, which a body of GET /search/query calls would make expensive.

Counts only ever reflect the index (never the degraded main-store fallback): an approximate count would be worse than none. Returns HTTP 503 index_rebuilding while the index is not ready, same as a filtered query.

post/search/count

Request

  • The document declares no server URL.
  • Auth
    • API key in query parameter auth
    • or API key in header Authorization

Request body

Response

Counts in request order

tsinteger required

Server time when the response was built (unix epoch milliseconds).

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added