Content
Search
Searches publisher data in a specific collection and tenant using a query string.
POST
Search publisher data
This is a semantic search endpoint. It searches by meaning, not by exact
keyword or prefix matching. Write queries as natural language questions or
phrases for best results.
Before You Start
This endpoint uses AI-powered semantic search to find content based on the meaning of your query — not exact text matching. For example, a query like “secrets to a happy marriage” will return content about “rules for keeping a marriage healthy,” even though none of the exact words overlap. This is not a keyword or prefix search. Queries like"happ" or
"happiness AND marriage" will not behave as expected. Use complete,
natural-language phrases instead.
Search Developer Guide
Understand how semantic search works, how to tune the certainty threshold,
and how to combine search with RAG.
Search Tutorial
Working code examples in 6 languages — JavaScript, TypeScript, Python, PHP,
Go, and Java.
Error Reference: Search
Common errors: invalid collection, missing or invalid tenant, certainty threshold issues, empty query string.
Tips for Effective Queries
- Use natural language — “How can I find true happiness?” works better than “happiness find true”
- Adjust certainty — The default threshold is
0.75, which is strict. If you’re getting few or no results, try lowering it to0.5 - Results are ranked by semantic distance — not keyword frequency. The
certaintyanddistancefields in the response indicate how closely each result matches your query’s meaning
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Search query.
Minimum string length:
1Collection to search in.
Minimum string length:
1Optional tenant to search in. Required only when the selected collection is multi-tenant; invalid when the selected collection is not multi-tenant.
The minimum certainty threshold for snippets.
Required range:
0 <= x <= 1Maximum number of results to return.
Required range:
x >= 1Previous
Get Referenced Items for AffiliatesRetrieves a list of recommended items based on a user query, designed for affiliate use cases. Allows filtering by media type, publisher, and snippet counts.
Next
Search publisher data

