Introduction

A breakdown of key endpoints and data structures used by the API

This section will describe the schema of key objects used for the request and returned in the response by the Health Scoring API as well as ways to present the scores to users. Sub sections provide information about other endpoints for generating scores and related output.

Default Health Scoring Endpoint

The default health scoring endpoint on the API allows you to generate point in time scores for up to 50 users in a batch. Full details of the endpoint and its definition, along with tools for testing it can be found under the API Reference page.

Request

When sending user data for scoring the key object used will be the Predictors object. This is where you able to specify the predictors and biomarkers for a user. This is specified in an array of predictor objects using the observation_code parameter. The list of possible biomarkers and predictors that are supported by the API can be found on the Biomarkers page. We support the use of LOINCs for specifying biomarkers and predictors to be used for scoring (where a mapping is available), as well as our own observation codes.

Every user must include sex, height, weight, and either age or date of birth. A request missing any of these returns a 422. See Required predictors for the accepted codes.

Mode of operation

The API supports 3 different modes when submitting a request. This is specified in the mode property in the scoring_event_metadata node of the input request object sent to the API. These are:

  1. score - Simply take the input biomarker data and generate scores for the data.
  2. validate - This option will only validate the input biomarker data to ensure the values are in the correct range for the given unit for the biomarker, and the gender of the user. No scores will be generated when using this option.
  3. validate_and_score - This is a combination of the previous 2 options. This will validate each biomarker and generate scores based on the input data. The validations will be returned alongside each scoring event result for a user.

Scoring version

The scoring_version property in scoring_event_metadata selects the scoring model version used for the request. The currently supported versions are 1.5 and 1.6, written as major.minor. The response reports the full version that scored the request, such as 1.5.0.

We recommend 1.6, and recommend always sending scoring_version. Requests that omit it are scored with 1.5, so existing integrations keep their current behavior. Any other value, including a three-part version such as 1.5.0, returns a 422 listing the supported versions.

Configuration

The optional top-level configuration object controls what is scored and returned. Every field is optional: an omitted field takes your organization's product setting. Your product is also the limit, so a request can only narrow it. Asking for a score representation, disease, or attributions your product does not enable returns a 422.

FieldTypeDefaultDescription
diseasesstring[]Your product'sThe health domains to score.
score_representationsstring[]Your product'sWhich scores to return: any of health_scores, score_percentile, risk_ratios, disease_age.
include_attributionsbooleanYour product'sWhether to return predictor_attributions for each health domain.
include_defaulted_predictorsbooleantrueWhether to return defaulted scoring predictors and their attributions.
include_overviewbooleanfalseWhether to return an overview of the predictors driving the scores.
overview_diseasesstring[]Same as diseasesThe health domains averaged in the overview. Must be a subset of diseases.
overview_ninteger5Scoring version 1.6 only. How many predictors each overview list holds; at least 1.
overview_min_strengthinteger0Scoring version 1.6 only. The minimum strength (0–10) a predictor needs to appear in the overview: its highest strength in any health domain of /top-disease-predictors/. 0 applies no filter.

Sending overview_n or overview_min_strength with scoring version 1.5 returns a 422.

Note: scoring_event_metadata.configuration is deprecated and ignored. Use the top-level configuration object.

{
  "scoring_event_metadata": {
    "event_id": "docs-example-001",
    "event_asof_dtutc": "2026-10-01T12:00:00Z",
    "mode": "validate_and_score",
    "scoring_version": "1.5"
  },
  "configuration": {
    "diseases": [
      "MACE3",
      "T2D"
    ],
    "include_attributions": true,
    "include_overview": true,
    "include_defaulted_predictors": false
  },
  "user_data": [
    {
      "uid_ext": "user_123",
      "predictors": [
        {
          "id": "p-age",
          "observation_code": "30525-0",
          "value": "47",
          "unit": "a"
        },
        {
          "id": "p-sex",
          "observation_code": "46098-0",
          "value": "male",
          "unit": ""
        },
        {
          "id": "p-height",
          "observation_code": "8302-2",
          "value": "180",
          "unit": "cm"
        },
        {
          "id": "p-weight",
          "observation_code": "29463-7",
          "value": "82",
          "unit": "kg"
        },
        {
          "id": "p-a1c",
          "observation_code": "4548-4",
          "value": "5.4",
          "unit": "%"
        },
        {
          "id": "p-hdl",
          "observation_code": "2085-9",
          "value": "52",
          "unit": "mg/dL"
        },
        {
          "id": "p-ldl",
          "observation_code": "13457-7",
          "value": "118",
          "unit": "mg/dL"
        },
        {
          "id": "p-sbp",
          "observation_code": "8480-6",
          "value": "128",
          "unit": "mm[Hg]"
        }
      ]
    }
  ]
}

Response

The response from the scoring event is made up of key objects that provide information about a user's health across different health domains.


1. scoring_event_metadata

Contains information about the request being sent.

FieldDescription
event_idA unique identifier to track the event. Passed back in the output as-is.
event_asof_dtutcA datetime for when the event was sent.
scoring_versionThe full scoring model version that produced the scores (e.g. 1.5.0 for a 1.5 request). null when mode is validate.

2. scoring_results

An array with one entry per user. Each entry contains the following properties:

uid_ext

The ID for the user being scored — an ID from your system used to track the user.

data

An array of scoring events for the user. Each scoring event contains scoring_predictors, disease_scores, overview and errors, described below.


scoring_predictors

An array of predictor metadata objects used to score upon. Returned every time, including both given predictors (provided in the request) and imputed predictors. Given predictors are echoed back exactly as you sent them.

FieldDescription
predictor_idThe unique identifier for the predictor instance from the original request, included for better mapping of the response to the original request. If the predictor in the response could not be mapped to any predictor in the original request, this will be a randomly generated UUID that you can use to track the predictor in the response.
predictor_codeThe code of the predictor.
predictor_nameThe name of the predictor.
valueThe value of the predictor, as sent in the request for given predictors, and as determined by the model for imputed predictors.
unitThe unit of the predictor, as sent in the request for given predictors, and as determined by the model for imputed predictors.
imputation_codeWhere the predictor came from: GIVEN (sent in the request), DERIVED (calculated from other predictors, such as BMI), SIDEWAYS (imputed from the other predictors), FORWARD / BACKWARD (carried from an earlier or later health event in timeseries requests), DEFAULT (nothing usable was reported, so the default was used; value is null when no usable value exists), or IMPUTED (scoring version 1.6 only: a predictor you sent that has no value at this date and is not read by any model; value is null).
percentileThe percentile for the predictor — what percentage of predictors for people in the same sex/age group this person's predictor is higher than.

disease_scores

An array of objects containing scores associated with a particular health domain. See the default list of health domains. Which of the score objects below are returned depends on configuration.score_representations.

FieldDescription
disease_codeThe code for the health domain.
disease_concept_codeThe concept code for the health domain (used for mapping in the response)
disease_nameThe name of the health domain
age_to_scoreThe service-defined age the disease was scored at; 0 when it was scored at the event age.
info_ratioThe information ratio for the disease.
score_percentileThe percentage of people in the same sex/age group that this user has a higher VOLO™ Score than.

health_score

The VOLO™ Score for the user for the particular health domain.

FieldDescription
health_scoreThe VOLO™ Score for the disease.
max_scoreThe maximum score for the disease (currently varies by gender only).

risk_ratios

The risk ratios for the user, associated with the health domain as calculated by the model.

FieldDescription
your_risk_fracThe user's risk for the health domain.
peer_risk_fracThe average risk of people within the user's sex/age group for the health domain.
risk_ratioThe risk ratio for the health domain.

disease_age

The VOLO™ Age for the disease.

FieldDescription
disease_ageThe biological age for the disease.
disease_age_deltaThe difference between disease_age and the age the model scored at.

predictor_attributions

An array of objects containing details about the attribution of the score to a particular predictor. Returned when configuration.include_attributions is enabled.

FieldDescription
predictor_codeThe code of the predictor.
predictor_nameThe name of the predictor.
multiplierThe multiplier on the health score. Values > 1 indicate the predictor is increasing risk; values < 1 indicate the predictor is decreasing risk. The product of all attributions equals the inverse of risk_ratio.
score_attributionThe portion of the score attributed to this predictor. All values sum to health_score.
risk_attributionThe portion of the risk ratio attributed to this predictor. All values sum to risk_ratio.
age_attributionThe portion of the VOLO™ Age attributed to this predictor. All values sum to disease_age_delta.

overview

The predictors driving the user's scores. Returned when configuration.include_overview is true; otherwise null. Its shape depends on the scoring version.

Scoring version 1.6

Predictors are ranked by their risk-ratio multiplier, averaged across configuration.overview_diseases. Only predictors the scoring event has a value for qualify, and predictors without a risk-ratio multiplier (such as disease-history flags) never do.

FieldDescription
topThe most protective predictors (lowest average multiplier), most protective first.
bottomThe highest-risk predictors (highest average multiplier), highest risk first.

Both lists always hold the same number of predictors: configuration.overview_n, or fewer when under 2 × overview_n predictors qualify. For example, 7 qualifying predictors give 3 and 3, with the middle one in neither. Fewer than 2 qualifying predictors give two empty lists.

Each entry has a predictor_code and a predictor_name.

"overview": {
  "top": [
    { "predictor_code": "4548-4", "predictor_name": "Hemoglobin A1c/Hemoglobin.total in Blood" },
    { "predictor_code": "1988-5", "predictor_name": "C reactive protein [Mass/volume] in Serum or Plasma" }
  ],
  "bottom": [
    { "predictor_code": "18262-6", "predictor_name": "Cholesterol in LDL [Mass/volume] in Serum or Plasma by Direct assay" },
    { "predictor_code": "1884-6", "predictor_name": "Apolipoprotein B [Mass/volume] in Serum or Plasma" }
  ]
}

Scoring version 1.5

Predictors are ranked by their score attribution, averaged across configuration.overview_diseases. The example response below uses this shape.

FieldDescription
maintainPredictors with a positive average score impact, strongest first.
improvePredictors with a negative average score impact, strongest first.

Each entry has a predictor_code, a predictor_name, and an average_score_impact.


errors

A list of any errors or issues encountered during scoring for a particular user. Returned as an array of strings.


3. validations

An array of objects returning validation information for each biomarker/predictor sent in the request. Returned for each user when the mode is validate or validate_and_score. Predictors removed before validation (duplicates, sensitive results, unrecognized values) also appear here, explaining why they were removed.

FieldDescription
idThe ID of the predictor that was validated.
codeThe observation code validated, as sent in the request.
qa_statusStatus of the validation process: PASS, WARN, FAIL, or NOT_ASSESSED.
messageAdditional information about the validation result.
return_codeThe specific validation outcome. See the table below.
severityThe severity level of the validation result, or null. See the table below.
validated_valueThe value converted to the biomarker's preferred UCUM unit. null when the entry was not assessed or was removed before validation.
validated_unitThe preferred UCUM unit validated_value is expressed in. null when the entry was not assessed or was removed before validation.

return_code Values

Codeqa_statusDescription
valid_entryPASSEntry passes all validation checks.
value_under_unusual_minimumPASSValue is below the unusual lower threshold.
value_over_unusual_maximumPASSValue is above the unusual upper threshold.
value_under_borderline_minimumPASSValue is below the borderline lower threshold. Also returned with WARN when a CRP value is reported as <3.0 and removed from scoring.
value_over_borderline_maximumPASSValue is above the borderline upper threshold.
value_under_implausible_minimumPASSValue is below the implausible lower threshold.
value_over_implausible_maximumPASSValue is above the implausible upper threshold.
value_under_impossible_minimumFAILValue is below the impossible lower threshold.
value_over_impossible_maximumFAILValue is above the impossible upper threshold.
invalid_unit_dimensionFAILUnit doesn't match the biomarker's preferred unit and could not be converted to it (incompatible or invalid unit).
invalid_valueFAIL / WARN / NOT_ASSESSEDValue is not usable: a health question answer other than yes/no (FAIL), a value that is not a recognized answer or number and was removed from scoring (WARN), or NaN (NOT_ASSESSED).
invalid_unitPASSA health question answer was accepted, but its unit was not {ord} or empty.
invalid_codeNOT_ASSESSEDLOINC or observation code is not in our reference data.
unprocessable_unitNOT_ASSESSEDUnit could not be normalized to a UCUM expression.
no_unit_dataNOT_ASSESSEDNo preferred unit is available for this biomarker.
no_threshold_dataNOT_ASSESSEDNo reference ranges exist for this biomarker (for example, age).
duplicate_observation_codeWARNA duplicate biomarker was detected for a user (batch scoring) or health event (time series scoring). Only one value was used.
sensitive_result_redactedWARNThe code is classified as a sensitive result. It was removed from scoring and its value was not forwarded.

severity Levels

LevelDescription
IMPOSSIBLEEntry cannot be correct (most severe).
IMPLAUSIBLEEntry is almost certainly wrong.
BORDERLINEEntry is questionable with low confidence (moderate severity).
UNUSUALEntry is uncommon but potentially valid (least severe).
UNRECOGNIZEDThe unit or value could not be interpreted.
WARNINGEntry was handled with a warning, such as a duplicate or a removed value.
nullEntry passed or was not assessed; no severity level needed.

The example below is a response to the request above, trimmed to a few predictors, one health domain, two attributions and three validations.

{
  "scoring_event_metadata": {
    "event_id": "docs-example-001",
    "event_asof_dtutc": "2026-10-01T12:00:00Z",
    "scoring_version": "1.5.0"
  },
  "scoring_results": [
    {
      "uid_ext": "user_123",
      "data": [
        {
          "scoring_predictors": [
            {
              "predictor_id": "p-age",
              "predictor_code": "30525-0",
              "predictor_name": "Age",
              "value": "47",
              "unit": "a",
              "imputation_code": "GIVEN",
              "percentile": 100.0,
              "health_event_id": null,
              "health_event_date": null
            },
            {
              "predictor_id": "p-a1c",
              "predictor_code": "4548-4",
              "predictor_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
              "value": "5.4",
              "unit": "%",
              "imputation_code": "GIVEN",
              "percentile": 68.2493,
              "health_event_id": null,
              "health_event_date": null
            },
            {
              "predictor_id": "p-hdl",
              "predictor_code": "2085-9",
              "predictor_name": "Cholesterol in HDL [Mass/volume] in Serum or Plasma",
              "value": "52",
              "unit": "mg/dL",
              "imputation_code": "GIVEN",
              "percentile": 64.7899,
              "health_event_id": null,
              "health_event_date": null
            },
            {
              "predictor_id": "p-ldl",
              "predictor_code": "13457-7",
              "predictor_name": "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation",
              "value": "118",
              "unit": "mg/dL",
              "imputation_code": "GIVEN",
              "percentile": 21.3452,
              "health_event_id": null,
              "health_event_date": null
            },
            {
              "predictor_id": "a16744db-0120-4c52-a2d0-ad75045ee2bd",
              "predictor_code": "41982-0",
              "predictor_name": "Percentage of body fat Measured",
              "value": "21.462853442215707",
              "unit": "%",
              "imputation_code": "SIDEWAYS",
              "percentile": 32.3865,
              "health_event_id": null,
              "health_event_date": null
            },
            {
              "predictor_id": "2d7f4bbd-2a29-48d1-a932-eaa5f4676768",
              "predictor_code": "1916-6",
              "predictor_name": "Aspartate aminotransferase/Alanine aminotransferase [Enzymatic activity ratio] in Serum or Plasma",
              "value": "1.0508885690196499",
              "unit": "1",
              "imputation_code": "DERIVED",
              "percentile": 54.4478,
              "health_event_id": null,
              "health_event_date": null
            }
          ],
          "disease_scores": [
            {
              "disease_code": "MACE3",
              "disease_concept_code": "2000004701",
              "disease_name": "Cardiovascular Health",
              "age_to_score": 55.0,
              "info_ratio": 0.7375,
              "score_percentile": 73.4414,
              "health_score": {
                "health_score": 210.3212,
                "max_score": 240.0
              },
              "risk_ratios": {
                "your_risk_frac": 0.0201,
                "peer_risk_frac": 0.0288,
                "risk_ratio": 0.6993
              },
              "disease_age": {
                "disease_age": 41.6268,
                "disease_age_delta": -5.3732
              },
              "predictor_attributions": [
                {
                  "predictor_code": "4548-4",
                  "predictor_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
                  "score_attribution": 0.5559,
                  "risk_attribution": -0.0162,
                  "age_attribution": -0.2909,
                  "multiplier": 1.0152
                },
                {
                  "predictor_code": "6768-6",
                  "predictor_name": "Alkaline phosphatase [Enzymatic activity/volume] in Serum or Plasma",
                  "score_attribution": 0.1791,
                  "risk_attribution": -0.0052,
                  "age_attribution": -0.0937,
                  "multiplier": 0.9803
                }
              ]
            }
          ],
          "overview": {
            "maintain": [
              {
                "predictor_code": "4548-4",
                "predictor_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
                "average_score_impact": 9.1369
              },
              {
                "predictor_code": "39156-5",
                "predictor_name": "Body mass index (BMI) [Ratio]",
                "average_score_impact": 5.3858
              }
            ],
            "improve": [
              {
                "predictor_code": "13457-7",
                "predictor_name": "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation",
                "average_score_impact": -1.2913
              },
              {
                "predictor_code": "8480-6",
                "predictor_name": "Systolic blood pressure",
                "average_score_impact": -1.1496
              }
            ]
          },
          "errors": null
        }
      ],
      "validations": [
        {
          "code": "30525-0",
          "qa_status": "NOT_ASSESSED",
          "severity": null,
          "message": "No reference ranges exist for recognized biomarker '30525-0', entry was not assessed",
          "return_code": "no_threshold_data",
          "id": "p-age",
          "validated_unit": null,
          "validated_value": null
        },
        {
          "code": "8302-2",
          "qa_status": "PASS",
          "severity": null,
          "message": "Valid entry",
          "return_code": "valid_entry",
          "id": "p-height",
          "validated_unit": "[in_i]",
          "validated_value": 70.8661
        },
        {
          "code": "29463-7",
          "qa_status": "PASS",
          "severity": null,
          "message": "Valid entry",
          "return_code": "valid_entry",
          "id": "p-weight",
          "validated_unit": "[lb_av]",
          "validated_value": 180.7791
        }
      ]
    }
  ]
}

What’s Next

Details of the biomarkers that can be used

Did this page help you?