{"id":"cd836ae2-bdb0-4d06-89e4-a0f2876c67a1","url":"https://api.magentlab.com/api/calc/surgical_apgar?ebl_ml=50&lowest_heart_rate_bpm=60&lowest_map_mm_hg=80","method":"GET","fingerprint":"ba7bf65cbb23a2feb7a4ec1e154a1f7635bf7bdf557efd670b26cbbc4becdf5e","name":"magent","description":null,"category":"other","docs_url":null,"advertised_price_usd":"0.005000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","scheme":"exact","networks":["eip155:8453"],"pay_to":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","input_schema":{"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":["ebl_ml","lowest_map_mm_hg","lowest_heart_rate_bpm"],"properties":{"ebl_ml":{"type":"number","description":"Estimated intraoperative blood loss in mL (0.0-20000.0). Gawande 2007 Table 1: >1000 → 0, 601-1000 → 1, 101-600 → 2, ≤100 → 3."},"lowest_map_mm_hg":{"type":"number","description":"Lowest intraoperative mean arterial pressure in mm Hg (30.0-180.0). Gawande 2007 Table 1: <40 → 0, 40-54 → 1, 55-69 → 2, ≥70 → 3."},"lowest_heart_rate_bpm":{"type":"integer","description":"Lowest intraoperative heart rate in beats/min (integer 30-220). Gawande 2007 Table 1: >85 → 0, 76-85 → 1, 66-75 → 2, 56-65 → 3, ≤55 → 4."}}}},"additionalProperties":false},"output_schema":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"schema_completeness":0,"status":"degraded","first_seen_at":"2026-08-23 21:07:28.095561+00","last_seen_at":"2026-08-23 21:07:26.949+00","last_success_at":"2026-09-05 11:11:38.858+00","dead_since":null,"probe_backoff_tier":3,"next_probe_at":"2026-09-15 11:10:12.83+00","search_tsv":"'magent':1","catalog_number":"5383","x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/surgical_apgar","resource_description":"Intraoperative Surgical Apgar (Gawande 2007 Table 1) from estimated blood loss, lowest mean arterial pressure, and lowest heart rate, summed to a 0–10 total. Returns score_le_4 because scores ≤4 were associated with 58.6% 30-day death or major complication in the validation cohort (9–10 associated with 3.6%). Deterministic published arithmetic with citation; not Virginia Apgar; not operative clearance.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"ebl_ml":50,"lowest_map_mm_hg":80,"lowest_heart_rate_bpm":60}},"output":{"type":"json","example":{"score":9,"ebl_ml":50,"formula":"surgical_apgar","citation":{"id":"gawande-2007","doi":"10.1016/j.jamcollsurg.2006.11.011","pmid":"17254927","title":"An Apgar score for surgery","source":"J Am Coll Surg. 2007;204(2):201-208","authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ"},"max_score":10,"components":[{"value":50,"factor":"ebl_ml","points":3,"present":true},{"value":80,"factor":"lowest_map_mm_hg","points":3,"present":true},{"value":60,"factor":"lowest_heart_rate_bpm","points":3,"present":true}],"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.","score_le_4":false,"lowest_map_mm_hg":80,"formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60}},"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":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["ebl_ml","lowest_map_mm_hg","lowest_heart_rate_bpm"],"properties":{"ebl_ml":{"type":"number","description":"Estimated intraoperative blood loss in mL (0.0-20000.0). Gawande 2007 Table 1: >1000 → 0, 601-1000 → 1, 101-600 → 2, ≤100 → 3."},"lowest_map_mm_hg":{"type":"number","description":"Lowest intraoperative mean arterial pressure in mm Hg (30.0-180.0). Gawande 2007 Table 1: <40 → 0, 40-54 → 1, 55-69 → 2, ≥70 → 3."},"lowest_heart_rate_bpm":{"type":"integer","description":"Lowest intraoperative heart rate in beats/min (integer 30-220). Gawande 2007 Table 1: >85 → 0, 76-85 → 1, 66-75 → 2, 56-65 → 3, ≤55 → 4."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/surgical_apgar?ebl_ml=50&lowest_heart_rate_bpm=60&lowest_map_mm_hg=80","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact","network":"eip155:8453","amountAtomic":"5000"},{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","withdrawDelay":86400,"receiverAuthorizer":"0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"batch-settlement","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"batch-settlement","network":"eip155:8453","amountAtomic":"5000"}],"bazaar_compatible":false,"bazaar_validated_at":"2026-09-14 11:10:12.83+00","bazaar_validation_error":"timeout","window":"24h","probes_n":1,"handshake_uptime":0,"settle_success_rate":0,"valid_result_rate":null,"latency_p50":10003,"latency_p90":10003,"price_drift_pct":null,"score":0,"computed_at":"2026-09-14 11:10:21.002+00","source_metadata":[{"raw":{"url":"https://api.magentlab.com/api/calc/surgical_apgar?ebl_ml=50&lowest_heart_rate_bpm=60&lowest_map_mm_hg=80","name":"magent","method":"GET","source":"bazaar:api.cdp.coinbase.com","fingerprint":"ba7bf65cbb23a2feb7a4ec1e154a1f7635bf7bdf557efd670b26cbbc4becdf5e","advertisedPriceUsd":0.005},"source_id":1,"external_id":null}],"live_endpoint_metadata":{"x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/surgical_apgar","resource_description":"Intraoperative Surgical Apgar (Gawande 2007 Table 1) from estimated blood loss, lowest mean arterial pressure, and lowest heart rate, summed to a 0–10 total. Returns score_le_4 because scores ≤4 were associated with 58.6% 30-day death or major complication in the validation cohort (9–10 associated with 3.6%). Deterministic published arithmetic with citation; not Virginia Apgar; not operative clearance.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"ebl_ml":50,"lowest_map_mm_hg":80,"lowest_heart_rate_bpm":60}},"output":{"type":"json","example":{"score":9,"ebl_ml":50,"formula":"surgical_apgar","citation":{"id":"gawande-2007","doi":"10.1016/j.jamcollsurg.2006.11.011","pmid":"17254927","title":"An Apgar score for surgery","source":"J Am Coll Surg. 2007;204(2):201-208","authors":"Gawande AA, Kwaan MR, Regenbogen SE, Lipsitz SA, Zinner MJ"},"max_score":10,"components":[{"value":50,"factor":"ebl_ml","points":3,"present":true},{"value":80,"factor":"lowest_map_mm_hg","points":3,"present":true},{"value":60,"factor":"lowest_heart_rate_bpm","points":3,"present":true}],"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.","score_le_4":false,"lowest_map_mm_hg":80,"formula_expression":"Surgical Apgar = ebl_points + lowest_map_points + lowest_hr_points; Gawande 2007 Table 1; max 10","lowest_heart_rate_bpm":60}},"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":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["ebl_ml","lowest_map_mm_hg","lowest_heart_rate_bpm"],"properties":{"ebl_ml":{"type":"number","description":"Estimated intraoperative blood loss in mL (0.0-20000.0). Gawande 2007 Table 1: >1000 → 0, 601-1000 → 1, 101-600 → 2, ≤100 → 3."},"lowest_map_mm_hg":{"type":"number","description":"Lowest intraoperative mean arterial pressure in mm Hg (30.0-180.0). Gawande 2007 Table 1: <40 → 0, 40-54 → 1, 55-69 → 2, ≥70 → 3."},"lowest_heart_rate_bpm":{"type":"integer","description":"Lowest intraoperative heart rate in beats/min (integer 30-220). Gawande 2007 Table 1: >85 → 0, 76-85 → 1, 66-75 → 2, 56-65 → 3, ≤55 → 4."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}}},"accepted_requirements":[{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","paymentFlow":"upfront","resourceUrl":"https://api.magentlab.com/api/calc/surgical_apgar?ebl_ml=50&lowest_heart_rate_bpm=60&lowest_map_mm_hg=80","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"exact","network":"eip155:8453","amountAtomic":"5000"},{"raw":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","withdrawDelay":86400,"receiverAuthorizer":"0x3721824a31197dcDD2984cF43b92B6cc8A87c0Fb","assetTransferMethod":"eip3009"},"payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","amount":"5000","scheme":"batch-settlement","network":"eip155:8453","maxTimeoutSeconds":600},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x836Be278f1739fB4308091cD1852F7971Bc19Ee2","scheme":"batch-settlement","network":"eip155:8453","amountAtomic":"5000"}],"bazaar_compatible":false,"bazaar_validated_at":"2026-09-14 11:10:12.83+00","bazaar_validation_error":"timeout"},"sonar_metrics":{"score":0,"uptime":0,"paid_success_rate":0,"valid_result_rate":null,"latency_p50":10003,"latency_p90":10003,"price_drift_pct":null},"cdp_indexed":false,"confidence":"low"}