{"api":"v1","generated_at":"2026-10-01T10:20:09.161Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-magentlab-com-api-calc-irae-diabetes-3f92cf","pinned_page":"https://tollindex.com/e/api-magentlab-com-api-calc-irae-diabetes-3f92cf/at/2026-10-01T05-50Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-01T05:50:06.230Z","snapshot_stamp":"2026-10-01T05-50Z","endpoint":{"slug":"api-magentlab-com-api-calc-irae-diabetes-3f92cf","canonical_url":"https://api.magentlab.com/api/calc/irae_diabetes","resource":"https://api.magentlab.com/api/calc/irae_diabetes","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Brahmer 2018 ASCO Table 4.4 irAE diabetes from glucose_mg_dl (50-1000, mg/dL only) plus caller ketosis, t1dm, severe_unable_adl, and life_threatening. First-match: G4 if life_threatening or glucose >500; else G3 if severe_unable_adl or glucose >250; else G2 if ketosis or t1dm or glucose >160; else G1 if glucose >99; else G0. ICI continue (0-1), hold_until_control (2), hold_admit (3-4). Not DKA diagnostic criteria. magent does not assay glucose. Not a diagnosis. Not an insulin dose.","service_name":"magent","declared_category":null,"declared_tags":["irae-diabetes","glucose","checkpoint","asco","calculator"],"route_template":null,"registry_updated":"2026-09-28T14:17:20.986Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"calc irae diabetes","category":"other","first_observed_by_toll":"2026-09-28T13:51:25.436Z","last_observed_by_toll":"2026-10-01T05:50:06.230Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-28T13:51:25.437Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact"}],"counters":{"observed_at":"2026-10-01T05:50:06.230Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-09-28T14:17:20.863Z"},"validation":{"latest":{"observed_at":"2026-10-01T07:14:22.487Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-10-01"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-10-01T07:14:22.487Z","state":"pass","failed_checks":[],"run_id":"daily-2026-10-01","state_changed":false},{"observed_at":"2026-09-30T06:31:54.667Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T18:51:33.508Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-28T16:54:54.030Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-28","state_changed":false},{"observed_at":"2026-09-28T16:40:57.357Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","page":"https://tollindex.com/seller/0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","endpoints":844,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["irae-diabetes","glucose","checkpoint","asco","calculator"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/irae_diabetes","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600}],"quality":{"lastCalledAt":"2026-09-28T14:17:20.863Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.magentlab.com/api/calc/irae_diabetes","extensions":{"bazaar":{"info":{"input":{"body":{"items":[{"t1dm":false,"ketosis":false,"glucose_mg_dl":140,"life_threatening":false,"severe_unable_adl":false},{"t1dm":false,"ketosis":false,"glucose_mg_dl":140,"life_threatening":false,"severe_unable_adl":false}]},"type":"http","method":"POST"},"output":{"type":"json","example":{"path":"/api/calc/irae_diabetes","count":2,"items":[{"t1dm":false,"grade":1,"formula":"irae_diabetes","ketosis":false,"citation":{"id":"brahmer-2018","doi":"10.1200/JCO.2017.77.6385","pmid":"29442540","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline","source":"J Clin Oncol. 2018;36(17):1714-1768","authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA"},"criteria":[{"met":false,"factor":"life_threatening"},{"met":false,"value":140,"factor":"glucose_gt_500"},{"met":false,"factor":"severe_unable_adl"},{"met":false,"value":140,"factor":"glucose_gt_250"},{"met":false,"factor":"ketosis"},{"met":false,"factor":"t1dm"},{"met":false,"value":140,"factor":"glucose_gt_160"},{"met":true,"value":140,"factor":"glucose_gt_99"}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","icpi_action":"continue","glucose_mg_dl":140,"life_threatening":false,"severe_unable_adl":false,"formula_expression":"irae_diabetes first-match worst-wins (Brahmer 2018 Table 4.4 fasting glucose mg/dL): grade 4 if life_threatening or glucose_mg_dl > 500; else grade 3 if severe_unable_adl or glucose_mg_dl > 250; else grade 2 if ketosis or t1dm or glucose_mg_dl > 160; else grade 1 if glucose_mg_dl > 99; else grade 0. icpi_action continue (0-1), hold_until_control (2), hold_admit (3-4). mg/dL only. Not DKA diagnostic criteria as a separate instrument. magent does not assay glucose. Not a diagnosis. Not an insulin dose"},{"t1dm":false,"grade":1,"formula":"irae_diabetes","ketosis":false,"citation":{"id":"brahmer-2018","doi":"10.1200/JCO.2017.77.6385","pmid":"29442540","title":"Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline","source":"J Clin Oncol. 2018;36(17):1714-1768","authors":"Brahmer JR, Lacchetti C, Schneider BJ, Atkins MB, Brassil KJ, Caterino JM, Chau I, Ernstoff MS, Gardner JM, Ginex P, Hallmeyer S, Holter Chakrabarty J, Leighl NB, Mammen JS, McDermott DF, Naing A, Nastoupil LJ, Phillips T, Porter LD, Puzanov I, Reichner CA, Santomasso BD, Seigel C, Spira A, Suarez-Almazor ME, Wang Y, Weber JS, Wolchok JD, Thompson JA"},"criteria":[{"met":false,"factor":"life_threatening"},{"met":false,"value":140,"factor":"glucose_gt_500"},{"met":false,"factor":"severe_unable_adl"},{"met":false,"value":140,"factor":"glucose_gt_250"},{"met":false,"factor":"ketosis"},{"met":false,"factor":"t1dm"},{"met":false,"value":140,"factor":"glucose_gt_160"},{"met":true,"value":140,"factor":"glucose_gt_99"}],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","icpi_action":"continue","glucose_mg_dl":140,"life_threatening":false,"severe_unable_adl":false,"formula_expression":"irae_diabetes first-match worst-wins (Brahmer 2018 Table 4.4 fasting glucose mg/dL): grade 4 if life_threatening or glucose_mg_dl > 500; else grade 3 if severe_unable_adl or glucose_mg_dl > 250; else grade 2 if ketosis or t1dm or glucose_mg_dl > 160; else grade 1 if glucose_mg_dl > 99; else grade 0. icpi_action continue (0-1), hold_until_control (2), hold_admit (3-4). mg/dL only. Not DKA diagnostic criteria as a separate instrument. magent does not assay glucose. Not a diagnosis. Not an insulin dose"}]}},"iconUrl":"https://api.magentlab.com/favicon.ico"},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["glucose_mg_dl","ketosis","t1dm","life_threatening","severe_unable_adl"],"properties":{"t1dm":{"type":"boolean","description":"Evidence of type 1 diabetes as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; T1DM at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not diagnose diabetes."},"ketosis":{"type":"boolean","description":"Ketosis as assigned by the caller (Brahmer 2018 Table 4.4 grade 2; ketosis at any glucose). true or false. When true and grade 4/3 criteria are not met, grade is 2. magent does not assay ketones."},"glucose_mg_dl":{"type":"number","description":"Fasting glucose in mg/dL (50-1000). Brahmer 2018 Table 4.4 bands: >500 grade 4; >250 grade 3; >160 grade 2; >99 grade 1; else grade 0 unless a flag upgrades. mmol/L is not accepted. magent does not assay glucose."},"life_threatening":{"type":"boolean","description":"Life-threatening consequences as assigned by the caller (Brahmer 2018 Table 4.4 grade 4). true or false. When true, grade is 4 regardless of glucose. magent does not examine the patient."},"severe_unable_adl":{"type":"boolean","description":"Severe symptoms limiting self-care ADL as assigned by the caller (Brahmer 2018 Table 4.4 grade 3). true or false. When true and life_threatening is false and glucose is not >500, grade is 3. magent does not assess ADL."}}},"maxItems":25,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"type":"string","const":"POST"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}}},"description":"Brahmer 2018 ASCO Table 4.4 irAE diabetes from glucose_mg_dl (50-1000, mg/dL only) plus caller ketosis, t1dm, severe_unable_adl, and life_threatening. First-match: G4 if life_threatening or glucose >500; else G3 if severe_unable_adl or glucose >250; else G2 if ketosis or t1dm or glucose >160; else G1 if glucose >99; else G0. ICI continue (0-1), hold_until_control (2), hold_admit (3-4). Not DKA diagnostic criteria. magent does not assay glucose. Not a diagnosis. Not an insulin dose.","lastUpdated":"2026-09-28T14:17:20.986Z","serviceName":"magent","x402Version":2}]}}