headless-intelligent-search

Integrate the VTEX Intelligent Search API into headless storefronts for search, facets, autocomplete, and analytics.

39|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/vtex/ai-skills --skill headless-intelligent-search-vtex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: headless-intelligent-search
Source: https://github.com/vtex/ai-skills/tree/main/tracks/headless/skills/headless-intelligent-search
Command: npx skills add https://github.com/vtex/ai-skills --skill headless-intelligent-search-vtex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables developers to integrate VTEX Intelligent Search API directly into headless storefronts, delivering search results, facets, and autocomplete while collecting analytics events for ranking improvements.

Core Features & Use Cases

  • Direct frontend integration with endpoints like product_search, facets, autocomplete_suggestions, and top_searches.
  • Analytics integration via Intelligent Search Events API to capture impressions and clicks.
  • Supports real-world scenarios such as building autocomplete experiences and faceted navigation for product discovery.

Quick Start

Configure your frontend to call the Intelligent Search endpoints directly and wire analytics events to the VTEX Events API.

Frequently Asked Questions about headless-intelligent-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate VTEX Intelligent Search API directly into a headless storefront?

To integrate VTEX Intelligent Search into a headless storefront, configure your frontend to call endpoints like product_search, facets, and autocomplete_suggestions directly. This approach delivers search results, faceted navigation, and autocomplete functionality without server-side rendering.

How does autocomplete work with the VTEX Intelligent Search API?

Autocomplete works by calling the autocomplete_suggestions endpoint directly from your frontend deployment. It retrieves search term suggestions to build responsive autocomplete experiences for product discovery in headless architectures.

Can I collect search analytics events from a headless frontend using VTEX Intelligent Search?

Yes, you can collect search analytics events by wiring your frontend to the VTEX Intelligent Search Events API. This captures user impressions and clicks, providing data necessary for ongoing search ranking improvements.

Does VTEX Intelligent Search API support faceted navigation and pagination for headless storefronts?

Yes, VTEX Intelligent Search supports faceted navigation and pagination by utilizing separate facets retrieval endpoints and proper operator and fuzzy handling. This ensures accurate product filtering across paginated search results.

What is the best way to retrieve facets separately in a headless search implementation?

The best way to retrieve facets separately in a headless search implementation is to call the dedicated facets endpoint provided by the VTEX Intelligent Search API. This allows independent fetching of faceted navigation data for frontend product filtering.