Content Recommendation

Path Params
string
required

field to use to identify a user

string
required

unique identity

Query Params
string

Your Lytics account ID.

string
required

id, or slug of a content-collection to filter content

string

limit on number of documents to suggest/return

boolean

whether or not to shuffle the recommendation order

boolean

whether to show recommendations for content the user has already viewed

string

if supplied, only allow recommendations on content with the specified topics

string

Ranking method for order of recommendations. Must be one of "popular", "recent", or "affinity"

boolean

Whether or not to wait for more complex user identities to resolve

string

if the fieldname and fieldval are omitted, an email can be provided. This can be helpful for templating use-cases

string

if url is provided, the recommendations will be based on the content topics associated with the provided URL

Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json