Clavis Endpoints: Trending
Clavis provides two endpoints to provide trending recommendations based on users interactions over time. Trending retrieves articles that are gaining popularity in a short-term. Hot Trending limits Trending articles to those created in the past 24 hours.
How to use the Trending endpoint
Trending retrieves articles that are gaining popularity in a short-term.
API call
GET /training/site/{site-id}/documents/recommendations/trending?limit={limit}
Request parameters
site-id: website from your organization
limit (optional): number of recommended items to retrieve, 10 by default
How to use the Hot Trending endpoint
We also offer Hot Trending. This feature works like the trending endpoint but with the constraint that just recommends articles created in the last 24 hours.
API call
GET /training/site/{site-id}/documents/recommendations/hot-trending?limit={limit}
Request parameters
site-id: website from your organization
limit (optional): number of recommended items to retrieve, 10 by default