{"uid":"cap_elgoxLvmoG6sJPKDnxxYY","slug":"magent-irae-nephritis-grader-asco-2018-brahmer-0ca10e30","name":"magent irAE Nephritis Grader (ASCO 2018 Brahmer)","description":"ASCO 2018 (Brahmer) irAE nephritis grade from creatinine vs baseline (mg/dL). First-match: 4 if dialysis or life-threatening; 3 if fold >3, creatinine >=4.0, or hospitalization; 2 if fold >2; 1 if fold >=1.5 or delta >=0.3; else 0. ICI action continue (0), consider_hold (1), hold (2), permanently_discontinue (3-4). Not a medical device, not a diagnosis, not KDIGO/AKIN, not a steroid dose; magent does not assay creatinine.","url":"https://api.magentlab.com/api/calc/irae_nephritis","method":"GET","headers":{},"bodySchema":{"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":["creatinine_mg_dl","baseline_creatinine_mg_dl","hospitalization_indicated","dialysis_indicated","life_threatening"],"properties":{"creatinine_mg_dl":{"type":"number","description":"Current serum creatinine in mg/dL (0.1-20). Used with baseline_creatinine_mg_dl for fold and delta (Brahmer 2018 Table 6.1). magent does not assay creatinine."},"life_threatening":{"type":"boolean","description":"Life-threatening consequences as assigned by the caller (Brahmer 2018 Table 6.1 grade 4). true or false. When true, grade is 4 regardless of fold. magent does not examine the patient."},"dialysis_indicated":{"type":"boolean","description":"Dialysis indicated as assigned by the caller (Brahmer 2018 Table 6.1 grade 4). true or false. When true, grade is 4 regardless of fold. magent does not start dialysis."},"baseline_creatinine_mg_dl":{"type":"number","description":"Baseline serum creatinine in mg/dL (0.1-20). µmol/L is not accepted. magent does not assay creatinine."},"hospitalization_indicated":{"type":"boolean","description":"Hospitalization indicated as assigned by the caller (Brahmer 2018 Table 6.1 grade 3). true or false. When true and neither dialysis_indicated nor life_threatening is true, grade is 3. magent does not admit the patient."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uXmPAf0oJwPYAHbfBki28","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes ASCO 2018 Brahmer irAE nephritis grade (0–4) from creatinine vs baseline and clinical flags, and returns ICI management action (continue, consider_hold, hold, or permanently_discontinue).","exampleAgentPrompt":"My patient on anti-PD-1 therapy has a current creatinine of 3.2 mg/dL and a baseline of 0.9 mg/dL; hospitalization is indicated but no dialysis and no life-threatening consequences — what is the irAE nephritis grade and should we hold the immunotherapy?","exampleUseCases":[{"title":"ICI hold decision for rising creatinine","prompt":"My oncology patient is on pembrolizumab and their creatinine jumped from 0.8 to 2.5 mg/dL. No dialysis needed, no life-threatening issues, and no hospitalization. What's the Brahmer irAE nephritis grade and what should we do with the immunotherapy?"},{"title":"Grade 4 nephritis with dialysis","prompt":"Patient on nivolumab now requires dialysis — baseline creatinine was 1.1 mg/dL and current is 5.8 mg/dL, life-threatening situation confirmed. What is the irAE nephritis grade and the checkpoint inhibitor management action?"},{"title":"Borderline creatinine elevation triage","prompt":"Our ICI patient has creatinine of 1.2 mg/dL versus a baseline of 0.8 mg/dL, no hospitalization, no dialysis, no life-threatening condition. Does this meet any irAE nephritis grade threshold and can we continue immunotherapy?"}],"resultDescription":"Returns an irAE nephritis grade integer (0–4) computed by first-match rules from the Brahmer 2018 ASCO Table 6.1 criteria (dialysis/life-threatening → 4; fold >3 or creatinine ≥4.0 or hospitalization → 3; fold >2 → 2; fold ≥1.5 or delta ≥0.3 → 1; else 0), plus a recommended ICI management action string (continue for grade 0, consider_hold for grade 1, hold for grade 2, permanently_discontinue for grades 3–4).","failureModes":["Missing required query parameters (creatinine_mg_dl, baseline_creatinine_mg_dl, or boolean flags) returns a 400/422 validation error","Creatinine values outside accepted range (0.1–20 mg/dL) may be rejected or produce undefined behavior","Units other than mg/dL (e.g. µmol/L) are not accepted and will silently produce wrong grades","Boolean flags incorrectly set by caller lead to incorrect grading since the endpoint trusts caller-assigned clinical observations","Network or payment (x402) authentication failures prevent any response"],"whenToPreferThis":"Use this endpoint when you need a fast, rule-based ASCO 2018 Brahmer irAE nephritis grade and matching ICI management action derived from creatinine measurements. It is not KDIGO/AKIN staging and does not suggest steroid doses. Prefer it over manual calculation when integrating irAE nephritis grading into automated oncology workflows or clinical decision-support pipelines that already have creatinine values and caller-assessed clinical flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:47:43.155Z","isFirstParty":false}