magent
Copeland 1991 POSSUM surgical audit: 12 physiologic and 6 operative 1/2/4/8 items (age has no 8; ECG has no 2). Returns physiologic_score, operative_score, and estimated morbidity and mortality percents from the unrounded Copeland logits. Not P-POSSUM (Whiteley), not a diagnosis, not operative consent. magent does not examine the patient.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "PAYMENT-SIGNATURE header is required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"paymentFlow": "upfront",
"resourceUrl": "https://api.magentlab.com/api/calc/possum",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
},
{
"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
}
],
"resource": {
"url": "https://api.magentlab.com/api/calc/possum",
"tags": [
"possum",
"surgery",
"audit",
"emergency",
"calculator"
],
"mimeType": "application/json",
"description": "Copeland 1991 POSSUM surgical audit: 12 physiologic and 6 operative 1/2/4/8 items (age has no 8; ECG has no 2). Returns physiologic_score, operative_score, and estimated morbidity and mortality percents from the unrounded Copeland logits. Not P-POSSUM (Whiteley), not a diagnosis, not operative consent. magent does not examine the patient.",
"serviceName": "magent"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"ecg": "normal",
"gcs": 15,
"pulse": 70,
"cardiac": "no_failure",
"wbc_k_ul": 8,
"age_years": 50,
"malignancy": "none",
"respiratory": "no_dyspnea",
"urea_mmol_l": 5,
"blood_loss_ml": 50,
"sodium_mmol_l": 140,
"hemoglobin_g_dl": 14,
"mode_of_surgery": "elective",
"potassium_mmol_l": 4,
"systolic_bp_mm_hg": 120,
"operative_severity": "minor",
"peritoneal_soiling": "none",
"multiple_procedures": "one"
}
},
"output": {
"type": "json",
"example": {
"formula": "possum",
"citation": {
"id": "copeland-1991",
"doi": "10.1002/bjs.1800780327",
"pmid": "2021856",
"title": "POSSUM: a scoring system for surgical audit",
"source": "Br J Surg. 1991;78(3):355-360",
"authors": "Copeland GP, Jones D, Walters M"
},
"components": [
{
"value": 50,
"factor": "age_years",
"points": 1,
"present": true
},
{
"value": "no_failure",
"factor": "cardiac",
"points": 1,
"present": true
},
{
"value": "no_dyspnea",
"factor": "respiratory",
"points": 1,
"present": true
},
{
"value": 120,
"factor": "systolic_bp_mm_hg",
"points": 1,
"present": true
},
{
"value": 70,
"factor": "pulse",
"points": 1,
"present": true
},
{
"value": 15,
"factor": "gcs",
"points": 1,
"present": true
},
{
"value": 14,
"factor": "hemoglobin_g_dl",
"points": 1,
"present": true
},
{
"value": 8,
"factor": "wbc_k_ul",
"points": 1,
"present": true
},
{
"value": 5,
"factor": "urea_mmol_l",
"points": 1,
"present": true
},
{
"value": 140,
"factor": "sodium_mmol_l",
"points": 1,
"present": true
},
{
"value": 4,
"factor": "potassium_mmol_l",
"points": 1,
"present": true
},
{
"value": "normal",
"factor": "ecg",
"points": 1,
"present": true
},
{
"value": "minor",
"factor": "operative_severity",
"points": 1,
"present": true
},
{
"value": "one",
"factor": "multiple_procedures",
"points": 1,
"present": true
},
{
"value": 50,
"factor": "blood_loss_ml",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "peritoneal_soiling",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "malignancy",
"points": 1,
"present": true
},
{
"value": "elective",
"factor": "mode_of_surgery",
"points": 1,
"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.",
"morbidity_logit": -2.85,
"mortality_logit": -4.52,
"operative_score": 6,
"physiologic_score": 12,
"formula_expression": "physiologic_score = sum of 12 Copeland 1991 Table 1 items (1/2/4/8; age has no 8, ECG has no 2); operative_score = sum of 6 Table 2 items (1/2/4/8; multiple_procedures and mode_of_surgery have no 2); ln[R/(1-R)] morbidity = -5.91 + 0.16*physiologic_score + 0.19*operative_score; ln[R/(1-R)] mortality = -7.04 + 0.13*physiologic_score + 0.16*operative_score; estimated_morbidity_percent and estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit",
"estimated_morbidity_percent": 5.47,
"estimated_mortality_percent": 1.08
}
},
"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_years",
"cardiac",
"respiratory",
"systolic_bp_mm_hg",
"pulse",
"gcs",
"hemoglobin_g_dl",
"wbc_k_ul",
"urea_mmol_l",
"sodium_mmol_l",
"potassium_mmol_l",
"ecg",
"operative_severity",
"multiple_procedures",
"blood_loss_ml",
"peritoneal_soiling",
"malignancy",
"mode_of_surgery"
],
"properties": {
"ecg": {
"enum": [
"normal",
"atrial_fibrillation_60_90",
"other_abnormal_or_ectopics_or_q_st_t"
],
"type": "string",
"description": "Copeland 1991 electrocardiogram as assigned by the caller: normal (1); atrial_fibrillation_60_90 (4); other_abnormal_or_ectopics_or_q_st_t (8). No 2-point cell. magent does not interpret a tracing."
},
"gcs": {
"type": "integer",
"description": "Glasgow Coma Scale total as assigned by the caller, integer 3-15. 15 → 1; 12-14 → 2; 9-11 → 4; ≤8 → 8. magent does not examine the patient."
},
"pulse": {
"type": "integer",
"description": "Pulse in beats/min, integer 20-250. 50-80 → 1; 81-100 → 2; 40-49 or 101-120 → 4; ≤39 or ≥121 → 8. magent does not measure pulse."
},
"cardiac": {
"enum": [
"no_failure",
"diuretic_digoxin_antianginal_or_hypertensive",
"peripheral_edema_warfarin_or_borderline_cardiomegaly",
"raised_jvp_or_cardiomegaly"
],
"type": "string",
"description": "Copeland 1991 cardiac signs as assigned by the caller: no_failure (1); diuretic_digoxin_antianginal_or_hypertensive (2); peripheral_edema_warfarin_or_borderline_cardiomegaly (4); raised_jvp_or_cardiomegaly (8). magent does not examine the patient."
},
"wbc_k_ul": {
"type": "number",
"description": "White cell count in ×10^9/L (0.1-100). 4.0-10.0 → 1; 10.1-20.0 or 3.1-3.9 → 2; ≥20.1 → 4; ≤3.0 → 8. Table 1 lists 3.1-4.0 on the 2-point cell; 4.0 is scored in the 1-point band."
},
"age_years": {
"type": "integer",
"description": "Age in years, integer 16-120 (Copeland 1991 Table 1). ≤60 → 1; 61-70 → 2; ≥71 → 4. No 8-point cell."
},
"malignancy": {
"enum": [
"none",
"primary_only",
"nodal_metastases",
"distant_metastases"
],
"type": "string",
"description": "Copeland 1991 presence of malignancy as assigned by the caller: none (1); primary_only (2); nodal_metastases (4); distant_metastases (8). magent does not diagnose."
},
"respiratory": {
"enum": [
"no_dyspnea",
"exertional_or_mild_coad",
"limiting_or_moderate_coad",
"rest_or_fibrosis_consolidation"
],
"type": "string",
"description": "Copeland 1991 respiratory history as assigned by the caller: no_dyspnea (1); exertional_or_mild_coad (2); limiting_or_moderate_coad (4); rest_or_fibrosis_consolidation (8). magent does not examine the patient."
},
"urea_mmol_l": {
"type": "number",
"description": "Serum urea in mmol/L (0.5-80). ≤7.5 → 1; 7.6-10.0 → 2; 10.1-15.0 → 4; ≥15.1 → 8."
},
"blood_loss_ml": {
"type": "number",
"description": "Total blood loss in mL (0-20000). ≤100 → 1; 101-500 → 2; 501-999 → 4; ≥1000 → 8. Table 2 writes <100 then 101-500; 100 mL is scored with the lowest band."
},
"sodium_mmol_l": {
"type": "number",
"description": "Serum sodium in mmol/L (90-200). ≥136 → 1; 131-135 → 2; 126-130 → 4; ≤125 → 8."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Haemoglobin in g/dL (3-25). 13-16 → 1; 11.5-12.9 or 16.1-17.0 → 2; 10.0-11.4 or 17.1-18.0 → 4; ≤9.9 or ≥18.1 → 8."
},
"mode_of_surgery": {
"enum": [
"elective",
"emergency_resuscitation_gt_2h_or_lt_24h",
"immediate_lt_2h"
],
"type": "string",
"description": "Copeland 1991 mode of surgery as assigned by the caller: elective (1); emergency_resuscitation_gt_2h_or_lt_24h (4); immediate_lt_2h (8). No 2-point cell."
},
"potassium_mmol_l": {
"type": "number",
"description": "Serum potassium in mmol/L (1-12). 3.5-5.0 → 1; 3.2-3.4 or 5.1-5.3 → 2; 2.9-3.1 or 5.4-5.9 → 4; ≤2.8 or ≥6.0 → 8."
},
"systolic_bp_mm_hg": {
"type": "number",
"description": "Systolic blood pressure in mm Hg (20-300). 110-130 → 1; 100-109 or 131-170 → 2; 90-99 or ≥171 → 4; ≤89 → 8. magent does not measure blood pressure."
},
"operative_severity": {
"enum": [
"minor",
"moderate",
"major",
"major_plus"
],
"type": "string",
"description": "Copeland 1991 Table 2 operative severity as assigned by the caller: minor (1); moderate (2); major (4); major_plus (8). magent does not classify an operative note."
},
"peritoneal_soiling": {
"enum": [
"none",
"minor_serous",
"local_pus",
"free_bowel_pus_blood"
],
"type": "string",
"description": "Copeland 1991 peritoneal soiling as assigned by the caller: none (1); minor_serous (2); local_pus (4); free_bowel_pus_blood (8). magent does not examine the patient."
},
"multiple_procedures": {
"enum": [
"one",
"two",
"more_than_two"
],
"type": "string",
"description": "Number of procedures as assigned by the caller: one (1); two (4); more_than_two (8). No 2-point cell."
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.005 USDC on Base to 0x836B…19Ee2. The signed payment is good for 10 minutes.
- Paid to
- 0x836B…19Ee2
- USD Coin contract
- 0x8335…02913
- Payment window
- 10 minutes
- As published
- 5000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2",
"paymentFlow": "upfront",
"resourceUrl": "https://api.magentlab.com/api/calc/possum",
"assetTransferMethod": "eip3009"
},
"payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
"amount": "5000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 600
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"items": [
{
"ecg": "normal",
"gcs": 15,
"pulse": 70,
"cardiac": "no_failure",
"wbc_k_ul": 8,
"age_years": 50,
"malignancy": "none",
"respiratory": "no_dyspnea",
"urea_mmol_l": 5,
"blood_loss_ml": 50,
"sodium_mmol_l": 140,
"hemoglobin_g_dl": 14,
"mode_of_surgery": "elective",
"potassium_mmol_l": 4,
"systolic_bp_mm_hg": 120,
"operative_severity": "minor",
"peritoneal_soiling": "none",
"multiple_procedures": "one"
},
{
"ecg": "normal",
"gcs": 15,
"pulse": 70,
"cardiac": "no_failure",
"wbc_k_ul": 8,
"age_years": 50,
"malignancy": "none",
"respiratory": "no_dyspnea",
"urea_mmol_l": 5,
"blood_loss_ml": 50,
"sodium_mmol_l": 140,
"hemoglobin_g_dl": 14,
"mode_of_surgery": "elective",
"potassium_mmol_l": 4,
"systolic_bp_mm_hg": 120,
"operative_severity": "minor",
"peritoneal_soiling": "none",
"multiple_procedures": "one"
}
]
},
"type": "http",
"method": "POST"
},
"output": {
"type": "json",
"example": {
"path": "/api/calc/possum",
"count": 2,
"items": [
{
"formula": "possum",
"citation": {
"id": "copeland-1991",
"doi": "10.1002/bjs.1800780327",
"pmid": "2021856",
"title": "POSSUM: a scoring system for surgical audit",
"source": "Br J Surg. 1991;78(3):355-360",
"authors": "Copeland GP, Jones D, Walters M"
},
"components": [
{
"value": 50,
"factor": "age_years",
"points": 1,
"present": true
},
{
"value": "no_failure",
"factor": "cardiac",
"points": 1,
"present": true
},
{
"value": "no_dyspnea",
"factor": "respiratory",
"points": 1,
"present": true
},
{
"value": 120,
"factor": "systolic_bp_mm_hg",
"points": 1,
"present": true
},
{
"value": 70,
"factor": "pulse",
"points": 1,
"present": true
},
{
"value": 15,
"factor": "gcs",
"points": 1,
"present": true
},
{
"value": 14,
"factor": "hemoglobin_g_dl",
"points": 1,
"present": true
},
{
"value": 8,
"factor": "wbc_k_ul",
"points": 1,
"present": true
},
{
"value": 5,
"factor": "urea_mmol_l",
"points": 1,
"present": true
},
{
"value": 140,
"factor": "sodium_mmol_l",
"points": 1,
"present": true
},
{
"value": 4,
"factor": "potassium_mmol_l",
"points": 1,
"present": true
},
{
"value": "normal",
"factor": "ecg",
"points": 1,
"present": true
},
{
"value": "minor",
"factor": "operative_severity",
"points": 1,
"present": true
},
{
"value": "one",
"factor": "multiple_procedures",
"points": 1,
"present": true
},
{
"value": 50,
"factor": "blood_loss_ml",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "peritoneal_soiling",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "malignancy",
"points": 1,
"present": true
},
{
"value": "elective",
"factor": "mode_of_surgery",
"points": 1,
"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.",
"morbidity_logit": -2.85,
"mortality_logit": -4.52,
"operative_score": 6,
"physiologic_score": 12,
"formula_expression": "physiologic_score = sum of 12 Copeland 1991 Table 1 items (1/2/4/8; age has no 8, ECG has no 2); operative_score = sum of 6 Table 2 items (1/2/4/8; multiple_procedures and mode_of_surgery have no 2); ln[R/(1-R)] morbidity = -5.91 + 0.16*physiologic_score + 0.19*operative_score; ln[R/(1-R)] mortality = -7.04 + 0.13*physiologic_score + 0.16*operative_score; estimated_morbidity_percent and estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit",
"estimated_morbidity_percent": 5.47,
"estimated_mortality_percent": 1.08
},
{
"formula": "possum",
"citation": {
"id": "copeland-1991",
"doi": "10.1002/bjs.1800780327",
"pmid": "2021856",
"title": "POSSUM: a scoring system for surgical audit",
"source": "Br J Surg. 1991;78(3):355-360",
"authors": "Copeland GP, Jones D, Walters M"
},
"components": [
{
"value": 50,
"factor": "age_years",
"points": 1,
"present": true
},
{
"value": "no_failure",
"factor": "cardiac",
"points": 1,
"present": true
},
{
"value": "no_dyspnea",
"factor": "respiratory",
"points": 1,
"present": true
},
{
"value": 120,
"factor": "systolic_bp_mm_hg",
"points": 1,
"present": true
},
{
"value": 70,
"factor": "pulse",
"points": 1,
"present": true
},
{
"value": 15,
"factor": "gcs",
"points": 1,
"present": true
},
{
"value": 14,
"factor": "hemoglobin_g_dl",
"points": 1,
"present": true
},
{
"value": 8,
"factor": "wbc_k_ul",
"points": 1,
"present": true
},
{
"value": 5,
"factor": "urea_mmol_l",
"points": 1,
"present": true
},
{
"value": 140,
"factor": "sodium_mmol_l",
"points": 1,
"present": true
},
{
"value": 4,
"factor": "potassium_mmol_l",
"points": 1,
"present": true
},
{
"value": "normal",
"factor": "ecg",
"points": 1,
"present": true
},
{
"value": "minor",
"factor": "operative_severity",
"points": 1,
"present": true
},
{
"value": "one",
"factor": "multiple_procedures",
"points": 1,
"present": true
},
{
"value": 50,
"factor": "blood_loss_ml",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "peritoneal_soiling",
"points": 1,
"present": true
},
{
"value": "none",
"factor": "malignancy",
"points": 1,
"present": true
},
{
"value": "elective",
"factor": "mode_of_surgery",
"points": 1,
"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.",
"morbidity_logit": -2.85,
"mortality_logit": -4.52,
"operative_score": 6,
"physiologic_score": 12,
"formula_expression": "physiologic_score = sum of 12 Copeland 1991 Table 1 items (1/2/4/8; age has no 8, ECG has no 2); operative_score = sum of 6 Table 2 items (1/2/4/8; multiple_procedures and mode_of_surgery have no 2); ln[R/(1-R)] morbidity = -5.91 + 0.16*physiologic_score + 0.19*operative_score; ln[R/(1-R)] mortality = -7.04 + 0.13*physiologic_score + 0.16*operative_score; estimated_morbidity_percent and estimated_mortality_percent = 100 * exp(logit)/(1+exp(logit)) from the unrounded logit",
"estimated_morbidity_percent": 5.47,
"estimated_mortality_percent": 1.08
}
]
}
},
"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": [
"age_years",
"cardiac",
"respiratory",
"systolic_bp_mm_hg",
"pulse",
"gcs",
"hemoglobin_g_dl",
"wbc_k_ul",
"urea_mmol_l",
"sodium_mmol_l",
"potassium_mmol_l",
"ecg",
"operative_severity",
"multiple_procedures",
"blood_loss_ml",
"peritoneal_soiling",
"malignancy",
"mode_of_surgery"
],
"properties": {
"ecg": {
"enum": [
"normal",
"atrial_fibrillation_60_90",
"other_abnormal_or_ectopics_or_q_st_t"
],
"type": "string",
"description": "Copeland 1991 electrocardiogram as assigned by the caller: normal (1); atrial_fibrillation_60_90 (4); other_abnormal_or_ectopics_or_q_st_t (8). No 2-point cell. magent does not interpret a tracing."
},
"gcs": {
"type": "integer",
"description": "Glasgow Coma Scale total as assigned by the caller, integer 3-15. 15 → 1; 12-14 → 2; 9-11 → 4; ≤8 → 8. magent does not examine the patient."
},
"pulse": {
"type": "integer",
"description": "Pulse in beats/min, integer 20-250. 50-80 → 1; 81-100 → 2; 40-49 or 101-120 → 4; ≤39 or ≥121 → 8. magent does not measure pulse."
},
"cardiac": {
"enum": [
"no_failure",
"diuretic_digoxin_antianginal_or_hypertensive",
"peripheral_edema_warfarin_or_borderline_cardiomegaly",
"raised_jvp_or_cardiomegaly"
],
"type": "string",
"description": "Copeland 1991 cardiac signs as assigned by the caller: no_failure (1); diuretic_digoxin_antianginal_or_hypertensive (2); peripheral_edema_warfarin_or_borderline_cardiomegaly (4); raised_jvp_or_cardiomegaly (8). magent does not examine the patient."
},
"wbc_k_ul": {
"type": "number",
"description": "White cell count in ×10^9/L (0.1-100). 4.0-10.0 → 1; 10.1-20.0 or 3.1-3.9 → 2; ≥20.1 → 4; ≤3.0 → 8. Table 1 lists 3.1-4.0 on the 2-point cell; 4.0 is scored in the 1-point band."
},
"age_years": {
"type": "integer",
"description": "Age in years, integer 16-120 (Copeland 1991 Table 1). ≤60 → 1; 61-70 → 2; ≥71 → 4. No 8-point cell."
},
"malignancy": {
"enum": [
"none",
"primary_only",
"nodal_metastases",
"distant_metastases"
],
"type": "string",
"description": "Copeland 1991 presence of malignancy as assigned by the caller: none (1); primary_only (2); nodal_metastases (4); distant_metastases (8). magent does not diagnose."
},
"respiratory": {
"enum": [
"no_dyspnea",
"exertional_or_mild_coad",
"limiting_or_moderate_coad",
"rest_or_fibrosis_consolidation"
],
"type": "string",
"description": "Copeland 1991 respiratory history as assigned by the caller: no_dyspnea (1); exertional_or_mild_coad (2); limiting_or_moderate_coad (4); rest_or_fibrosis_consolidation (8). magent does not examine the patient."
},
"urea_mmol_l": {
"type": "number",
"description": "Serum urea in mmol/L (0.5-80). ≤7.5 → 1; 7.6-10.0 → 2; 10.1-15.0 → 4; ≥15.1 → 8."
},
"blood_loss_ml": {
"type": "number",
"description": "Total blood loss in mL (0-20000). ≤100 → 1; 101-500 → 2; 501-999 → 4; ≥1000 → 8. Table 2 writes <100 then 101-500; 100 mL is scored with the lowest band."
},
"sodium_mmol_l": {
"type": "number",
"description": "Serum sodium in mmol/L (90-200). ≥136 → 1; 131-135 → 2; 126-130 → 4; ≤125 → 8."
},
"hemoglobin_g_dl": {
"type": "number",
"description": "Haemoglobin in g/dL (3-25). 13-16 → 1; 11.5-12.9 or 16.1-17.0 → 2; 10.0-11.4 or 17.1-18.0 → 4; ≤9.9 or ≥18.1 → 8."
},
"mode_of_surgery": {
"enum": [
"elective",
"emergency_resuscitation_gt_2h_or_lt_24h",
"immediate_lt_2h"
],
"type": "string",
"description": "Copeland 1991 mode of surgery as assigned by the caller: elective (1); emergency_resuscitation_gt_2h_or_lt_24h (4); immediate_lt_2h (8). No 2-point cell."
},
"potassium_mmol_l": {
"type": "number",
"description": "Serum potassium in mmol/L (1-12). 3.5-5.0 → 1; 3.2-3.4 or 5.1-5.3 → 2; 2.9-3.1 or 5.4-5.9 → 4; ≤2.8 or ≥6.0 → 8."
},
"systolic_bp_mm_hg": {
"type": "number",
"description": "Systolic blood pressure in mm Hg (20-300). 110-130 → 1; 100-109 or 131-170 → 2; 90-99 or ≥171 → 4; ≤89 → 8. magent does not measure blood pressure."
},
"operative_severity": {
"enum": [
"minor",
"moderate",
"major",
"major_plus"
],
"type": "string",
"description": "Copeland 1991 Table 2 operative severity as assigned by the caller: minor (1); moderate (2); major (4); major_plus (8). magent does not classify an operative note."
},
"peritoneal_soiling": {
"enum": [
"none",
"minor_serous",
"local_pus",
"free_bowel_pus_blood"
],
"type": "string",
"description": "Copeland 1991 peritoneal soiling as assigned by the caller: none (1); minor_serous (2); local_pus (4); free_bowel_pus_blood (8). magent does not examine the patient."
},
"multiple_procedures": {
"enum": [
"one",
"two",
"more_than_two"
],
"type": "string",
"description": "Number of procedures as assigned by the caller: one (1); two (4); more_than_two (8). No 2-point cell."
}
}
},
"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"
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-09-01 11:04Z
- Last indexed by Roundhouse
- 2026-09-07 06:20Z
- Last enriched (probe, favicon, geo)
- 2026-09-10 02:15Z
- x402 version
- 2
- Max timeout
- 600s
- Liveness probe
- HTTP 0
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 8 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service magent and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=magent' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.magentlab.com/api/calc/possum, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402, or use an organization key from https://roundhouseai.io/dashboard/team. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.