---
updatedAt: 2026-10-29T08:09:44.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Show an AI review summary and smart topics

```shell Shell
# 1. Fetch the AI summary and topics for a product
curl "https://api-cdn.yotpo.com/v3/storefront/stores/YOUR_STORE_ID/products/YOUR_PRODUCT_ID/productData?include=reviewsSummary,topics"

# 2. When a shopper clicks a topic, search reviews that mention it
curl -X POST "https://api-cdn.yotpo.com/v3/storefront/store/YOUR_STORE_ID/product/YOUR_PRODUCT_ID/reviews?page=1&perPage=10" \
  -H "Content-Type: application/json" \
  -d '{ "topicNames": ["quality"] }'
```

```json Response Example
{
  "status": { "code": 200, "message": "OK" },
  "response": {
    "externalId": "YOUR_PRODUCT_ID",
    "paragraphSummary": "Customers praise the backpack's quality, leather, and timeless design...",
    "summaryTopics": [
      {
        "displayTopic": "Product Quality",
        "topic": "quality",
        "summary": "Customers describe the quality as excellent and well made.",
        "coverage": "4",
        "avgSentiment": 0.96
      }
    ],
    "summaryHighlights": [
      { "reviewId": 85987914, "reviewerName": "Jane D.", "highlight": "beautiful leather, nice workmanship, good size and design." }
    ],
    "topics": ["quality", "leather", "size", "craftsmanship"]
  }
}
```

# Fetch the summary and topics

<!-- shell@1-2 -->

`include` is required and controls which blocks come back: `reviewsSummary` returns `paragraphSummary`, `summaryTopics`, and `summaryHighlights`, and `topics` returns the topic list. The endpoint is public, so no token is needed. Label the summary as AI-generated and show it above the reviews, not instead of them. Products with few reviews may have no summary, so hide the block when `paragraphSummary` is empty.

# Filter reviews by topic

<!-- shell@4-7 -->

Render `topics` as chips. When a shopper clicks one, run Search product reviews with that topic in `topicNames`. Paging stays in the query string, so keep the body the same while the shopper moves through the results.