Historical Results by Biomarker

Use query historicalResultsByBiomarker to retrieve all historical values for a specific biomarker.

Available Arguments

Argument
Type
Description

id

ID

Id of the biomarker.

results.start

date

Use the format: YYYY-MM-DD

results.end

date

Use the format: YYYY-MM-DD

Available Fields

Field Name
Type
Description

results

ProfileBiomarkerConnection

results.id

ID

id of the profile biomarker.

results.date

datetime

Use the format: YYYY-MM-DDT hh:mm:ssZ

results.value

GenericScalar

The GenericScalar scalar type represents a generic GraphQL scalar value that could be: String, Boolean,

Int, Float, List or Object.

results.displayValue

String

Optional display value

results.createdAt

datetime

Use the format: YYYY-MM-DDT hh:mm:ssZ

results.updatedAt

datetime

Use the format: YYYY-MM-DDT hh:mm:ssZ

biomarker

biomarker.id

ID

Id of biomarker.

biomarker.name

String

Name of biomarker.

articles

articles

Article recommendations.

articles.id

ID

Article recommendation ID.

articles.title

String

Article recommendation title.

articles.sourceUrl

String

Article recommendation source URL.

articles.imageUrl

String

Article recommendation image URL.

articles.categories.name

String

Article recommendation category name.

articles.categories.id

ID

Article recommendation category id.

Example

query historicalResultsByBiomarker {
  historicalResultsByBiomarker(id: "QmlvbWFya2VyOjE=") {
    biomarker { id name }
    results(start: "2022-10-01", end: "2022-12-15") {
      edges {
        node {
          id
          date
          value
          createdAt
          updatedAt
          alert
          alertText
        }
      }
    }
  }
}

Example with Article recommendations

query historicalResultsByBiomarker {
  historicalResultsByBiomarker(id: "QlvbWFyc2VyOgU2") {
    articles{
        edges{
            node{
                id
                title
                categories{
                    name
                }
                sourceUrl
                imageUrl
            }
        }
    }
    biomarker { 
        id 
        name
        }
    results(start: "2025-01-01", end: "2025-04-10") {
      edges {
        node {
          id
          date
          value
          createdAt
          updatedAt
          alert
          alertText
        }
      }
    }
  }
}

Last updated

Was this helpful?