Search
Execute full-text search queries with filters, facets, and sorting.
responseType body field that controls the response format. See Autocomplete → responseType for the comparison; for Search, set it as a JSON body field rather than a query parameter.
Pagination
| Field | Type | Notes |
|---|---|---|
page | integer | 1-indexed. The first page is page: 1. |
perPage | integer | Number of results per page. |
TotalDocument in the response gives the total number of matching documents — use it together with perPage to compute how many pages exist. If you need result counts higher than the deep-pagination cap, narrow the query with filters instead of paginating further.Authorizations
SiteKey authentication. Pass the full value including the SiteKey prefix: SiteKey <base64(customerId:engineId:searchKey)>. Example: SiteKey dGVzdDoxMjM0NTY3Ojk4NzY1. See the Authentication guide for details.
Path Parameters
The search engine to query. Must match the engine ID in your SiteKey.
Body
Search text. Use * with operator: OR for match-all.
"*"
Page to retrieve, starting at 1.
x >= 11
Results per page.
x >= 110
Include filter: field name → allowed values. Example: {"Category": ["Analytics"]}.
Exclude filter: same shape as filters. Removes matching documents.
Sort by field. Value: Ascending or Descending. Multiple entries apply secondary sorts in order.
JsonObject — structured TypedDocuments (recommended). JsonHtml — pre-rendered HTML fragments.
JsonObject, JsonHtml Limits which fields are returned on each hit. Only the fields listed here will appear in TypedDocument.Fields — all others are omitted from the response.
Wrap matching terms in <b>…</b> via each field's Highlights array.
Return a Facets object with per-field value counts for filter UIs.
Count documents in date or numeric ranges. Each key becomes a label in the RangeFacets response with an array of counts per range. Example: {"This year": {"fieldName": "Date_date", "ranges": [{"from": "2024-01-01", "to": "2024-12-31"}]}}.
Boost relevance for documents matching these field values. Example: {"Category": ["Featured"]}.
OR — any term matches (broader). AND — all terms required (narrower).
AND, OR "OR"
Populate RelatedSearchDocuments with suggested follow-up queries.
false
AI Search ranking is enabled by default on AI-enabled engines. Set to false to opt out and use keyword-only ranking for this request.
Response
Search results returned successfully.
Ranked hits for the current page (at most perPage items).
Total matching documents across all pages.
Per-field aggregation buckets. Present when enableFacetFiltering is true.
Document counts for each range bucket defined in the request's rangeFacets.
Promotional banners triggered by this query.
Spell-correction / "did you mean" strings.
Synonym terms applied for this query.
Suggested follow-up queries (when enableRelatedSearches is true).
Spell-corrected query string used for retrieval, or null if unchanged.
Server-side processing time in milliseconds.
ID for this search — pass to tracking and AI endpoints.
Whether AI Chat can answer this query.

