Supplement Recommendations

Use the supplementRecommendations query to obtain a user's supplement recommendations based on a given assessment.

Arguments

ArgumentTypeDescription

assessmentID

ID!

Assessment ID

top

Int

Number of supplements returned by the query from the top of the scored list.

Available Fields

Field NameTypeDescription

supplement

Supplement object

score

Float

Recommendation score

Example

query {
  supplementRecommendations(assessmentId: $assessmentId, top: $top) {
    supplement {
      id
      name
    }
    score
  }
}

Last updated