/query/suggestions
Returns type-ahead suggestions for an incomplete query, using the same search backend as POST /query. Each item includes display text and an optional category.
Query parameters
Response
{ "data": [ { "text": "...", "category": "..." } ] } — category may be null.
Errors
- 400 —
qis missing or empty. - 503 — Search service is not configured.
- 502 — Search service request failed.
Authentication
Authorizationstring
API Key authentication via header
Query parameters
q
Partial search text (required).
limit
Max suggestions (default 10, maximum 20).
cache
Optional. When true, a cached response may be returned if server caching is enabled.
Response
OK
data