Full-text search across products, brands, and retailers. Uses PostgreSQL websearch parsing (the same syntax as a Google query box — quoted phrases, -exclusions, and OR are honored) with ts_rank for relevance. Falls back to substring (icontains) matching when full-text returns no rows, so partial words like trai still surface relevant items.
Pass ?type= (repeatable) to limit the result set to a subset of resource collections. Results are merged across collections, ranked together, and truncated to limit.
Auth: unauthenticated (anonymous IP-throttled at 60 requests/minute).
Documentation Index
Fetch the complete documentation index at: https://docs.closient.com/llms.txt
Use this file to discover all available pages before exploring further.
Search query text. Supports quoted phrases ("trail mix"), exclusion (trail -mix), and OR operators.
1 - 255Filter results to one or more resource collections. Repeat the parameter to include multiple (e.g. ?type=product&type=brand). Omit to search all three.
Resource types returned by the catalog search endpoint.
Each result row carries one of these in its type field. The
GET /search endpoint accepts the same values via the repeated
?type= query parameter to filter results to a subset.
product, brand, retailer Maximum number of results to return. Capped at 100.
1 <= x <= 100OK
Response envelope for GET /search.
Wraps the matched rows with the original query and a result count.
Results are pre-sorted by rank descending. total_count reports
the size of the returned list, not the size of the corpus — this
endpoint truncates to limit and does not paginate.