API documentation · Metabolic Scoring Framework

Cascade scoring fundamentals

Metabolic Scoring Framework is the Æ Hive research console and planned same-origin REST surface for a transparent, rule-weighted cascade — oncogenic signaling → oxygen availability → metabolic flux → hallmark composites → phenotype score — with biomarker proxies, concept attribution, therapy-node ranking, and Monte Carlo sensitivity. Research and education only; not a medical device.

Overview

The Metabolic Scoring API exposes literature-aligned scenario presets and custom cascade runs so educators and researchers can inspect stage outputs, proxy contributions, and phenotype verdicts without opaque black-box scores. Clients post JSON inputs (or select a named preset) and receive structured cascade artefacts suitable for teaching and hypothesis generation.

  • Scenario scoring — run a preset or custom input vector through the full cascade
  • Concept attribution — inspect which signaling / flux concepts drive the phenotype
  • Monte Carlo sensitivity — perturb weights and inputs to map score stability

Cascade stages

The framework is intentionally staged so every intermediate quantity remains inspectable:

  1. Signaling — oncogenic pathway activity axes from adjustable literature-aligned inputs
  2. Oxygen / microenvironment — hypoxia and nutrient availability modulators
  3. Metabolic flux — glycolysis, OXPHOS, lipid, and related flux composites
  4. Hallmarks — proliferation, angiogenesis, invasion, immune, and metabolism maps
  5. Phenotype score — aggregated verdict with concept attribution and therapy-node ranking

Authentication

Requests accept an x-api-key header. The public research console uses a prototype key suitable for evaluation traffic. Production deployments should rotate keys via environment configuration.

x-api-key: <your-api-key>
Content-Type: application/json
Accept: application/json

Same-origin proxy

Browser clients should call the Æ Hive proxy at /api/metabolic-scoring/*. The route forwards to the Metabolic Scoring backend and injects the demo key when none is supplied.

GET  /api/metabolic-scoring/health
POST /api/metabolic-scoring/scenario
POST /api/metabolic-scoring/sensitivity

Endpoints

MethodPathPurpose
GET/healthService readiness / cascade model heartbeat
POST/scenarioRun a named preset or custom cascade scoring request
POST/sensitivityMonte Carlo weight / input perturbation sweeps

Scenario scoring

POST /scenario accepts either a preset identifier (literature-aligned teaching cases) or a custom inputs object spanning signaling, oxygen, and flux axes. Responses include stage vectors, hallmark composites, phenotype score, concept attribution, and optional therapy-node ranking — always labelled as hypotheses, not clinical recommendations.

{
  "preset": "mixed_transitional_example",
  "include_attribution": true,
  "include_therapy_ranking": true
}

Sensitivity

POST /sensitivity runs Monte Carlo sweeps over selected weights or inputs and returns score distributions so educators can show how brittle or stable a phenotype verdict is under uncertainty.

{
  "preset": "mixed_transitional_example",
  "n_samples": 500,
  "perturb": { "weights": 0.1, "inputs": 0.05 }
}

Disclaimer

Metabolic Scoring Framework is a research and education instrument. It does not diagnose, prognose, or select treatment. Therapy rankings are in-silico hypotheses for experimental follow-up only. Do not use outputs for clinical decision support.