Alvarez 1999 revised original IAIHG AIH score, not Hennes 2008 simplified
Alvarez 1999 revised original IAIHG AIH score, not Hennes 2008 simplified. Caller-assigned sex, ALP:AST/ALT ratio, globulin/IgG, ANA/SMA/LKM titer, AMA, viral markers, drugs, alcohol, additive histology, other autoimmune disease; optional HLA/other autoantibodies if seronegative and treatment response. Pretreatment definite >15 / probable 10-15; posttreatment definite >17 / probable 12-17. magent does not read histology. Not a diagnosis or immunosuppression order.
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/aih_original
| 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 | 265 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"alcohol_intake": "gt_60",
"alp_ratio": "gt_3",
"ama_positive": true,
"autoantibody_titer": "lt_1_40",
"biliary_changes": true,
"globulin_igg": "lt_1x",
"hepatotoxic_drugs": true,
"hla_dr3_or_dr4": false,
"interface_hepatitis": false,
"liver_cell_rosettes": false,
"lymphoplasmacytic_infiltrate": false,
"other_atypical_histology": true,
"other_autoantibodies": false,
"other_autoimmune_disease": false,
"sex": "male",
"treatment_response": "none",
"viral_markers_positive": true
},
{
"alcohol_intake": "gt_60",
"alp_ratio": "gt_3",
"ama_positive": true,
"autoantibody_titer": "lt_1_40",
"biliary_changes": true,
"globulin_igg": "lt_1x",
"hepatotoxic_drugs": true,
"hla_dr3_or_dr4": false,
"interface_hepatitis": false,
"liver_cell_rosettes": false,
"lymphoplasmacytic_infiltrate": false,
"other_atypical_histology": true,
"other_autoantibodies": false,
"other_autoimmune_disease": false,
"sex": "male",
"treatment_response": "none",
"viral_markers_positive": true
}
]
},
"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": {
"alcohol_intake": {
"description": "Caller-assigned average alcohol intake (Alvarez 1999). lt_25 (<25 g/day) scores 2; 25_to_60 scores 0 (gap between the tabulated <25 and >60 cells); gt_60 (>60 g/day) scores -2.",
"enum": [
"lt_25",
"25_to_60",
"gt_60"
],
"type": "string"
},
"alp_ratio": {
"description": "Caller-assigned ALP:(AST or ALT) ratio as multiples of ULN (Alvarez 1999 note 1). lt_1_5 (<1.5) scores 2; 1_5_to_3 (1.5\u20133.0) scores 0; gt_3 (>3) scores -2. magent does not take raw enzymes.",
"enum": [
"lt_1_5",
"1_5_to_3",
"gt_3"
],
"type": "string"
},
"ama_positive": {
"description": "Caller-assigned antimitochondrial antibody. true scores -4; false scores 0 (Alvarez 1999). magent does not assay AMA.",
"type": "boolean"
},
"autoantibody_titer": {
"description": "Caller-assigned highest ANA, SMA, or LKM-1 immunofluorescence titer (Alvarez 1999). lt_1_40 scores 0; 1_40 scores 1; 1_80 scores 2; gt_1_80 scores 3. magent does not titer autoantibodies.",
"enum": [
"lt_1_40",
"1_40",
"1_80",
"gt_1_80"
],
"type": "string"
},
"biliary_changes": {
"description": "Caller-assigned biliary changes typical of PBC or PSC (Alvarez 1999 note 5). true scores -3; additive with other histology items. magent does not read histology.",
"type": "boolean"
},
"globulin_igg": {
"description": "Caller-assigned serum globulin or IgG as multiples of ULN (Alvarez 1999). lt_1x scores 0; 1_to_1_5x scores 1; 1_5_to_2x scores 2; gt_2x scores 3. magent does not assay globulin or IgG.",
"enum": [
"lt_1x",
"1_to_1_5x",
"1_5_to_2x",
"gt_2x"
],
"type": "string"
},
"hepatotoxic_drugs": {
"description": "Recent or current known or suspected hepatotoxic drugs (Alvarez 1999 note 4). true scores -4; false scores 1.",
"type": "boolean"
},
"hla_dr3_or_dr4": {
"description": "Optional. HLA DR3 or DR4 (Alvarez 1999 note 9). true scores 1 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.",
"type": "boolean"
},
"interface_hepatitis": {
"description": "Caller-assigned interface hepatitis on liver histology. true scores 3 (Alvarez 1999; additive). magent does not read histology.",
"type": "boolean"
},
"liver_cell_rosettes": {
"description": "Caller-assigned liver-cell rosettes. true scores 1 (Alvarez 1999; additive). magent does not read histology.",
"type": "boolean"
},
"lymphoplasmacytic_infiltrate": {
"description": "Caller-assigned predominantly lymphoplasmacytic infiltrate. true scores 1 (Alvarez 1999; additive). magent does not read histology.",
"type": "boolean"
},
"other_atypical_histology": {
"description": "Caller-assigned other prominent histologic features suggesting a different etiology (Alvarez 1999 note 6). true scores -3; additive. magent does not read histology.",
"type": "boolean"
},
"other_autoantibodies": {
"description": "Optional. Seropositivity for other defined autoantibodies (pANCA, anti-LC1, anti-SLA, anti-ASGPR, anti-LP, anti-sulfatide; Alvarez 1999 note 8). true scores 2 only when autoantibody_titer is lt_1_40; otherwise 0. Omit or false scores 0.",
"type": "boolean"
},
"other_autoimmune_disease": {
"description": "Any other autoimmune disorder in the patient or first-degree relatives (Alvarez 1999 note 7). true scores 2; false scores 0.",
"type": "boolean"
},
"sex": {
"description": "Caller-assigned sex (Alvarez 1999). female scores 2; male scores 0. magent does not examine the patient.",
"enum": [
"female",
"male"
],
"type": "string"
},
"treatment_response": {
"description": "Optional. Alvarez 1999 response to therapy, added to presentation points. none or omit: pretreatment bands (definite >15, probable 10-15). complete scores 2; relapse scores 3; both use posttreatment bands (definite >17, probable 12-17). Not an immunosuppression order.",
"enum": [
"none",
"complete",
"relapse"
],
"type": "string"
},