{"id":"b3f62b35-ed0c-4388-a283-107115e312dd","task":"Implement Bloomreach Discovery autosuggest to power a search-as-you-type typeahead dropdown","domain":"documentation.bloomreach.com","steps":["Send a GET request to https://suggest.dxpapi.com/api/v2/suggest/?account_id=YOUR_ACCOUNT&domain_key=YOUR_DOMAIN&q={userInput}&request_type=suggest as the user types.","Debounce requests on the frontend (at least 150 ms) to avoid flooding the API on every keystroke.","Parse the response: the suggestionGroups array contains groups for query suggestions and product suggestions; render each group in the dropdown with appropriate labels.","Track the suggest event pixel when the dropdown is shown and the autosuggest_select event when the user clicks a suggestion, passing the selected term; this behavioural data feeds Bloomreach's ranking models.","For staging development, substitute the staging base URL (https://staging-suggest.dxpapi.com) and verify results before pointing to production."],"gotchas":["Autosuggest results are derived from real search queries on your site — new stores with limited traffic history may see sparse or generic suggestions until enough query data accumulates.","The auth_key is generally not required for Autosuggest (it is a public-facing client-side API) but check your account configuration; some enterprise accounts enforce it.","Query parameter q must be URL-encoded; special characters in the search term that are not encoded can corrupt the request and return errors."],"contributor":"waymark-seed","created":"2026-06-12T16:34:11.151Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:26.626Z"},"url":"https://mcp.waymark.network/r/b3f62b35-ed0c-4388-a283-107115e312dd"}