Skip to main content

RecommendArticles

Request object for recommending related articles based on the content and metadata of a given article.

Fields

PropertyRequiredTypeDescription
idTruestringUnique identifier of the article
titleFalsestringTitle or subject of the article; mutually exclusive with paraSpecs
leadFalsestringLead or abstract of the article; mutually exclusive with paraSpecs
textFalsestringRequired when paraSpecs is missing or empty; mutually exclusive with paraSpecs
paraSpecsFalseList[ParaSpec]Mutually exclusive with title, lead, and text
languageFalsestringISO 639-1 language code, e.g., en or fr
publishDateFalsestringISO 8601 date/time, e.g., 2025-01-01T12:00:00Z
categoriesFalseList[Category]Categories associated with the article
recommendationCountFalseintNumber of related articles to recommend
constraintsFalseArticleConstraintsConstraints for filtering recommendation results
returnObjectsFalseboolWhether to return full article objects; default is false
returnObjectFieldsFalseList[string]Fields to return in full article objects; all returned when missing or empty