ASCO 2018 (Brahmer) immune-related hepatitis grade from caller AST, ALT, and tot
ASCO 2018 (Brahmer) immune-related hepatitis grade from caller AST, ALT, and total bilirubin as folds of laboratory ULN (mg/dL only). Lab grade is the max of transaminase and bilirubin Table 2.2 bands; decompensated liver upgrades to grade 4; symptomatic compensated liver dysfunction upgrades to grade 3. ICI action: continue (0-1), hold (2), or permanently discontinue (3-4). Not a medical device, not a diagnosis, not DILI/RUCAM, not R factor, not a steroid dose; magent does not assay enzymes.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/irae_hepatitis
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 291 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"alt_u_l": 50,
"alt_uln_u_l": 40,
"ast_u_l": 80,
"ast_uln_u_l": 40,
"bilirubin_mg_dl": 1,
"bilirubin_uln_mg_dl": 1,
"decompensated_liver": false,
"symptomatic_liver_dysfunction": false
},
{
"alt_u_l": 50,
"alt_uln_u_l": 40,
"ast_u_l": 80,
"ast_uln_u_l": 40,
"bilirubin_mg_dl": 1,
"bilirubin_uln_mg_dl": 1,
"decompensated_liver": false,
"symptomatic_liver_dysfunction": false
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"alt_u_l": {
"description": "Alanine aminotransferase in U/L (1-10000). Used with alt_uln_u_l for the ALT fold. magent does not assay enzymes.",
"type": "number"
},
"alt_uln_u_l": {
"description": "Laboratory ALT upper limit of normal in U/L (5-200). Required; magent does not assume 40.",
"type": "number"
},
"ast_u_l": {
"description": "Aspartate aminotransferase in U/L (1-10000). Used with ast_uln_u_l for the AST fold. magent does not assay enzymes.",
"type": "number"
},
"ast_uln_u_l": {
"description": "Laboratory AST upper limit of normal in U/L (5-200). Required; magent does not assume 40.",
"type": "number"
},
"bilirubin_mg_dl": {
"description": "Total bilirubin in mg/dL (0.1-40). \u00b5mol/L is not accepted. magent does not assay bilirubin.",
"type": "number"
},
"bilirubin_uln_mg_dl": {
"description": "Laboratory total-bilirubin upper limit of normal in mg/dL (0.1-5). Required; magent does not assume 1.0.",
"type": "number"
},
"decompensated_liver": {
"description": "Decompensated liver (ascites, encephalopathy, coagulopathy, or coma) as assigned by the caller (Brahmer 2018). true or false. When true, grade is max(lab_grade, 4). magent does not examine the patient.",
"type": "boolean"
},
"symptomatic_liver_dysfunction": {
"description": "Symptomatic compensated hepatitis / liver dysfunction as assigned by the caller (Brahmer 2018). true or false. When true and decompensated_liver is false, grade is max(lab_grade, 3). magent does not examine the patient.",
"type": "boolean"
}
},
"required": [
"ast_u_l",
"ast_uln_u_l",
"alt_u_l",
"alt_uln_u_l",
"bilirubin_mg_dl",
"bilirubin_uln_mg_dl",
"decompensated_liver",
"symptomatic_liver_dysfunction"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}