API Responsesintermediate

Search Results with Filters JSON Example

A search response that bundles hits, current filters, and facet counts together.

Real-world use case: Use this for marketplace search, product discovery, or content search interfaces.
1{
2 "query": "performance tee",
3 "filters": {
4 "category": [
5 "apparel"
6 ],
7 "inStock": true
8 },
9 "facets": {
10 "category": [
11 {
12 "value": "apparel",
13 "count": 18

Where this shape shows up in production

Marketplace search
Docs search
Catalog discovery

Related examples