# magent ORBI Score (Auffret 2018) – Cardiogenic Shock After STEMI

> magent ORBI Score (Auffret 2018) – Cardiogenic Shock After STEMI is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Computes the Auffret 2018 ORBI integer score predicting in-hospital cardiogenic shock after STEMI treated by primary PCI, returning rounded adjusted-OR points (max 36) and derivation-cohort risk class percents.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/orbi
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-orbi-score-auffret-2018-cardiogenic-shock-after-stemi-25151bdf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zBg1TgMK7bipor3TAxdYR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magent-orbi-score-auffret-2018-cardiogenic-shock-after-stemi-25151bdf
```

Example prompt: Calculate the Auffret 2018 ORBI cardiogenic shock score for a 73-year-old with anterior STEMI and no prior stroke or TIA, who had a cardiac arrest on admission, Killip class II, heart rate 95 bpm, FMC-to-PPCI time over 90 minutes, admission glucose above 10 mmol/L, no left-main culprit, SBP not low with normal pulse pressure, and post-PPCI TIMI flow of 3 or better.

## When to prefer this

Use this endpoint when you need to compute the validated Auffret 2018 ORBI score specifically — not the ORBIT bleeding score, not the MAGGIC heart failure score, and not a generic ACS risk calculator. It is appropriate when a caller has already assigned all 11 clinical variables (ECG findings, angiographic findings, vital signs, labs) from a STEMI patient being treated by primary PCI, and wants a reproducible integer risk score for in-hospital cardiogenic shock stratification. Prefer this over manual lookup when integrating risk scoring into automated clinical documentation or audit pipelines.

## Known failure modes

- Missing required query parameter returns a 400-level error
- killip_class value of 'iv' is rejected because Killip IV (cardiogenic shock on admission) was excluded from the derivation cohort
- age_years outside 18–120 range returns a validation error
- heart_rate outside 30–220 range returns a validation error
- Non-boolean value for flag fields returns a schema validation error
- Payment failure or missing x402 payment header returns a 402 Payment Required response

## How this service works

Auffret 2018 ORBI integer score for in-hospital cardiogenic shock after STEMI treated by primary PCI. Rounded adjusted-OR points (max 36) from age >70, prior stroke/TIA, cardiac arrest, anterior STEMI, FMC-to-PPCI >90 min, Killip I-III, heart rate >90, SBP <125 with pulse pressure <45, glucose >10 mmol/L, left-main culprit, and post-PPCI TIMI <3. Derivation-cohort class I-IV percents. Not a medical device, not a cath-lab or shock-treatment order, and not the ORBIT bleeding score.

## Output

Returns the Auffret 2018 ORBI integer score (0–36 rounded adjusted-OR points) computed from the 11 clinical predictors, together with the derivation-cohort risk class (I–IV) and corresponding observed incidence percentage for in-hospital cardiogenic shock after primary PCI-treated STEMI.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "age_years",
      "prior_stroke_tia",
      "cardiac_arrest_on_admission",
      "anterior_stemi",
      "fmc_to_ppci_gt_90_min",
      "killip_class",
      "heart_rate",
      "sbp_lt_125_and_pp_lt_45",
      "glucose_gt_10_mmol_l",
      "left_main_culprit",
      "post_ppci_timi_lt_3"
     ],
     "properties": {
      "age_years": {
       "type": "integer",
       "description": "Age in years (18-120). Auffret 2018: older than 70 scores 2; 70 or younger scores 0."
      },
      "heart_rate": {
       "type": "integer",
       "description": "Heart rate in beats per minute (integer 30-220). Auffret 2018: greater than 90 scores 3."
      },
      "killip_class": {
       "enum": [
        "i",
        "ii",
        "iii"
       ],
       "type": "string",
       "description": "Caller-assigned Killip class after STEMI (Auffret 2018): i (0), ii (2), or iii (6). Killip IV is rejected because the derivation excluded cardiogenic shock on admission. magent does not examine the patient."
      },
      "anterior_stemi": {
       "type": "boolean",
       "description": "Anterior ST-elevation myocardial infarction (Auffret 2018: 1 point). Caller-assigned. magent does not read the ECG."
      },
      "prior_stroke_tia": {
       "type": "boolean",
       "description": "Prior stroke or TIA (Auffret 2018: 2 points). true or false."
      },
      "left_main_culprit": {
       "type": "boolean",
       "description": "Whether the culprit lesion is the left main coronary artery (Auffret 2018: 5 points). Caller-assigned. magent does not read the angiogram."
      },
      "post_ppci_timi_lt_3": {
       "type": "boolean",
       "description": "Whether post-primary-PCI TIMI flow is <3 (Auffret 2018: 5 points). Caller-assigned. magent does not assign TIMI flow."
      },
      "glucose_gt_10_mmol_l": {
       "type": "boolean",
       "description": "Admission glucose >10 mmol/L (Auffret 2018:
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-orbi-score-auffret-2018-cardiogenic-shock-after-stemi-25151bdf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
