Search

Get the chosen variations for Semantic Search, Visual Search, and Shopping Muse campaigns

👍

Dynamic Yield new Experience Search is coming soon!

We’re making product discovery smarter, more intuitive, and effortless with API-based, AI-assisted text, image, and conversational product search.

For the request structure and examples, see the API Reference.

The Search API enables seamless personalized search and discovery experiences. It's similar to the Choose API, however, some objects are structured a bit differently (see the API reference for details). The main distinction of the Search endpoint lies in its use of the query object, which is crucial for executing searches or starting conversations.

The Search API supports these search and discovery solutions:

  • Semantic Search: A native AI-powered, multi-modal search solution that uses both image and text embedding to deliver highly relevant search results for natural language queries.
  • Visual Search: An image-based search solution that enables users to search using images and retrieve visually similar or relevant products.
  • Shopping Muse: An AI-powered conversational search and recommendation solution that enables users to request information and receive personalized recommendations and search results, including expert advice.

Query object fields

Required

Field NameDescriptionType
imageBase64
Required for Visual Search campaigns
A base64-encoded image string
Used only for Visual Search campaigns
String
text
Required for Shopping Muse and Semantic Search campaigns
A textual query string for search and conversational requests
Used only for Shopping Muse and Semantic Search campaigns
String

Note: Either imageBase64 or text must be provided, but not both in the same request.

Optional

Field NameDescriptionType
sortByDefines sorting logic for search results.
Used only for Visual Search and Semantic Searchcampaigns
Object
paginationControls the number of results per page and the starting offset.
Used only for Semantic Searchcampaigns
Object
filtersEnables refining results based on specific criteria.
Used only for Visual Search and Semantic Search campaigns
Object
chatId
Required for Shopping Muse campaigns
A unique identifier used to maintain conversational context. Include it when sending follow-up requests related to the response that contains it.
Used only for Shopping Muse campaigns
String

Visual Search Example

{
  "query": {
    "imageBase64": "bGlnaHQgd29yay4=...",
    "filters": [],
    "sortBy": {}
  },
}

Semantic Search Example

{
  "query": {
    "text": "<query>",
    "filters": [],
    "pagination": {},
    "sortBy": {}
  },
}

Shopping Muse Example

{ 
  "query": { 
    "text": "<query>", 
    "chatId": "gAAAAABn85XBEaWKxRxEABWj2P2E8VecQcjXv8qvaZEOs..." 
  }, 
}