AI Recommendations API
Retrieve articles based on queries or URLs, powered by semantic search.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Data model ID, starting with dm_
.
Body
Natural language query, keyword or URL. If URL is specified, our AI analyzes the page context, summarizes and provides semantic recommendations based on the content.
Number of articles to return.
site domain of where ai recommendations are being displayed. Example format: dappier.com
Minimum number of articles from the ref
domain specified above. The rest of the articles will come from other sites within the RAG model.
Search algorithm for retrieving articles.
most_recent
: retrieves the most recent articles by publication date. semantic
(default): retrieves contextually relevant articles based on the query or the page content from the provided URL. most_recent_semantic
: performs semantic search and retrieves the most recent articles by publication date.
most_recent
, semantic
, most_recent_semantic