{"id":"e5a43d65-9197-4e5c-b9a0-c920f0afc6a0","url":"https://api.magentlab.com/api/calc/rockall_pre?age=50&comorbidity=none&heart_rate_bpm=80&systolic_mm_hg=120","method":"GET","fingerprint":"a2d02a95ab7c29af9cad5cee8a45c24a0d2a1de2bf6f9632ce6d19a5b90e8573","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":["age","heart_rate_bpm","systolic_mm_hg","comorbidity"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). <60 scores 0; 60-79 scores 1; ≥80 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2."},"comorbidity":{"type":"string","description":"Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity."},"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats per minute (integer 30-220). With SBP ≥100, HR ≥100 scores 1 (tachycardia); 99 does not. Not added when SBP <100."},"systolic_mm_hg":{"type":"number","description":"Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension."}}}},"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 14:04:42.17642+00","last_seen_at":"2026-08-23 14:04:41.402+00","last_success_at":"2026-09-05 10:59:24.947+00","dead_since":null,"probe_backoff_tier":3,"next_probe_at":"2026-09-15 11:04:57.574+00","search_tsv":"'magent':1","catalog_number":"4303","x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/rockall_pre","resource_description":"Rockall 1996 pre-endoscopy (admission) score after acute upper GI haemorrhage: age <60 0, 60-79 1, >=80 2; shock SBP<100 2 (hypotension; tachycardia not added), else HR>=100 1, else 0; comorbidity none 0, cardiac (failure, IHD, or any major) 2, renal/liver/metastatic 3. Max 7. Not complete Rockall, AIMS65, or GBS. Caller assigns comorbidity.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"age":50,"comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120}},"output":{"type":"json","example":{"score":0,"formula":"rockall_pre","citation":{"id":"rockall-1996","doi":"10.1136/gut.38.3.316","title":"Risk assessment after acute upper gastrointestinal haemorrhage","source":"Gut. 1996;38(3):316-321","authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC"},"age_years":50,"max_score":7,"components":[{"value":50,"factor":"age","points":0,"present":false},{"value":{"heart_rate_bpm":80,"systolic_mm_hg":120},"factor":"shock","points":0,"present":false},{"value":"none","factor":"comorbidity","points":0,"present":false}],"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.","comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120,"formula_expression":"pre-endoscopy Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3); max 7"}},"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":["age","heart_rate_bpm","systolic_mm_hg","comorbidity"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). <60 scores 0; 60-79 scores 1; ≥80 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2."},"comorbidity":{"type":"string","description":"Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity."},"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats per minute (integer 30-220). With SBP ≥100, HR ≥100 scores 1 (tachycardia); 99 does not. Not added when SBP <100."},"systolic_mm_hg":{"type":"number","description":"Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension."}}}},"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/rockall_pre?age=50&comorbidity=none&heart_rate_bpm=80&systolic_mm_hg=120","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:04:57.574+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.0005,"computed_at":"2026-09-14 11:05:15.389+00","source_metadata":[{"raw":{"url":"https://api.magentlab.com/api/calc/rockall_pre?age=50&comorbidity=none&heart_rate_bpm=80&systolic_mm_hg=120","name":"magent","method":"GET","source":"bazaar:api.cdp.coinbase.com","fingerprint":"a2d02a95ab7c29af9cad5cee8a45c24a0d2a1de2bf6f9632ce6d19a5b90e8573","advertisedPriceUsd":0.005},"source_id":1,"external_id":null}],"live_endpoint_metadata":{"x402_version":2,"resource_url":"https://api.magentlab.com/api/calc/rockall_pre","resource_description":"Rockall 1996 pre-endoscopy (admission) score after acute upper GI haemorrhage: age <60 0, 60-79 1, >=80 2; shock SBP<100 2 (hypotension; tachycardia not added), else HR>=100 1, else 0; comorbidity none 0, cardiac (failure, IHD, or any major) 2, renal/liver/metastatic 3. Max 7. Not complete Rockall, AIMS65, or GBS. Caller assigns comorbidity.","bazaar_extension":{"info":{"input":{"type":"http","method":"GET","queryParams":{"age":50,"comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120}},"output":{"type":"json","example":{"score":0,"formula":"rockall_pre","citation":{"id":"rockall-1996","doi":"10.1136/gut.38.3.316","title":"Risk assessment after acute upper gastrointestinal haemorrhage","source":"Gut. 1996;38(3):316-321","authors":"Rockall TA, Logan RF, Devlin HB, Northfield TC"},"age_years":50,"max_score":7,"components":[{"value":50,"factor":"age","points":0,"present":false},{"value":{"heart_rate_bpm":80,"systolic_mm_hg":120},"factor":"shock","points":0,"present":false},{"value":"none","factor":"comorbidity","points":0,"present":false}],"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.","comorbidity":"none","heart_rate_bpm":80,"systolic_mm_hg":120,"formula_expression":"pre-endoscopy Rockall = age (<60: 0, 60-79: 1, >=80: 2) + shock (SBP<100: 2; else HR>=100: 1; else 0) + comorbidity (none: 0, cardiac: 2, renal_liver_metastatic: 3); max 7"}},"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":["age","heart_rate_bpm","systolic_mm_hg","comorbidity"],"properties":{"age":{"type":"integer","description":"Age in years (18-120). <60 scores 0; 60-79 scores 1; ≥80 scores 2. 59 does not score; 60 scores 1; 79 scores 1; 80 scores 2."},"comorbidity":{"type":"string","description":"Caller-assigned comorbidity: none (0), cardiac (2; cardiac failure, IHD, or any major comorbidity), or renal_liver_metastatic (3; renal failure, liver failure, or disseminated malignancy). magent does not assign comorbidity."},"heart_rate_bpm":{"type":"integer","description":"Heart rate in beats per minute (integer 30-220). With SBP ≥100, HR ≥100 scores 1 (tachycardia); 99 does not. Not added when SBP <100."},"systolic_mm_hg":{"type":"number","description":"Systolic blood pressure in mm Hg (50-250). SBP <100 scores 2 (hypotension) and tachycardia is not added; 100 does not score hypotension."}}}},"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/rockall_pre?age=50&comorbidity=none&heart_rate_bpm=80&systolic_mm_hg=120","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:04:57.574+00","bazaar_validation_error":"timeout"},"sonar_metrics":{"score":0.0005,"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"}