Supplement Recommendations

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

Arguments

Argument
Type
Description

assessmentID

ID!

Assessment ID

top

Int

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

Available Fields

Field Name
Type
Description

supplement

Supplement object

score

Float

Recommendation score

Example

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

Last updated