{
  "x402Version": 2,
  "id": 38920,
  "slug": "38920",
  "resource": "https://api.magentlab.com/api/calc/vexus",
  "description": "Beaubien-Souligny 2020 VExUS C only (not A, B, D, or E). Caller-assigned ivc_dilated (IVC ≥2 cm) plus hepatic, portal, and intra-renal Doppler each normal, mild, or severe. Grade 0 if the IVC is not dilated; 1 if dilated with zero severe patterns; 2 if exactly one severe; 3 if two or more are severe. magent does not perform ultrasound. Not an AKI diagnosis or a fluid-order. Not a medical device.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "hepatic": "normal",
                "ivc_dilated": false,
                "portal": "normal",
                "renal": "normal"
              },
              {
                "hepatic": "normal",
                "ivc_dilated": false,
                "portal": "normal",
                "renal": "normal"
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY",
                  "doi": "10.1186/s13089-020-00163-w",
                  "id": "beaubien-souligny-2020",
                  "pmid": "32270297",
                  "source": "Ultrasound J. 2020;12(1):16",
                  "title": "Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"
                },
                "components": [
                  {
                    "factor": "ivc_dilated",
                    "met": false
                  },
                  {
                    "factor": "hepatic_severe",
                    "met": false,
                    "value": "normal"
                  },
                  {
                    "factor": "portal_severe",
                    "met": false,
                    "value": "normal"
                  },
                  {
                    "factor": "renal_severe",
                    "met": false,
                    "value": "normal"
                  },
                  {
                    "factor": "grade_0",
                    "met": true
                  },
                  {
                    "factor": "grade_1",
                    "met": false
                  },
                  {
                    "factor": "grade_2",
                    "met": false
                  },
                  {
                    "factor": "grade_3",
                    "met": 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.",
                "formula": "vexus",
                "formula_expression": "VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E",
                "hepatic": "normal",
                "ivc_dilated": false,
                "portal": "normal",
                "renal": "normal",
                "severe_doppler_count": 0,
                "vexus_grade": 0
              },
              {
                "citation": {
                  "authors": "Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY",
                  "doi": "10.1186/s13089-020-00163-w",
                  "id": "beaubien-souligny-2020",
                  "pmid": "32270297",
                  "source": "Ultrasound J. 2020;12(1):16",
                  "title": "Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"
                },
                "components": [
                  {
                    "factor": "ivc_dilated",
                    "met": false
                  },
                  {
                    "factor": "hepatic_severe",
                    "met": false,
                    "value": "normal"
                  },
                  {
                    "factor": "portal_severe",
                    "met": false,
                    "value": "normal"
                  },
                  {
                    "factor": "renal_severe",
                    "met": false,
                    "value": "normal"
                  },
                  {
                    "factor": "grade_0",
                    "met": true
                  },
                  {
                    "factor": "grade_1",
                    "met": false
                  },
                  {
                    "factor": "grade_2",
                    "met": false
                  },
                  {
                    "factor": "grade_3",
                    "met": 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.",
                "formula": "vexus",
                "formula_expression": "VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E",
                "hepatic": "normal",
                "ivc_dilated": false,
                "portal": "normal",
                "renal": "normal",
                "severe_doppler_count": 0,
                "vexus_grade": 0
              }
            ],
            "path": "/api/calc/vexus"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "hepatic": {
                          "description": "Hepatic-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (not mild and not severe; triphasic S > D toward the liver); mild (S component lower in magnitude than D but still toward the liver); severe (S component reversed, toward the heart). magent does not perform ultrasound.",
                          "enum": [
                            "normal",
                            "mild",
                            "severe"
                          ],
                          "type": "string"
                        },
                        "ivc_dilated": {
                          "description": "Whether the IVC is dilated as assigned by the caller. Dilated iff maximal IVC diameter ≥2 cm (Beaubien-Souligny 2020). true or false. Grade 0 whenever this is false, regardless of Doppler. magent does not measure IVC.",
                          "type": "boolean"
                        },
                        "portal": {
                          "description": "Portal-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1 caption): normal (pulsatility fraction not in the mild or severe bands); mild (velocity variation 30 to <50%); severe (variation ≥50%). magent does not perform ultrasound.",
                          "enum": [
                            "normal",
                            "mild",
                            "severe"
                          ],
                          "type": "string"
                        },
                        "renal": {
                          "description": "Intra-renal venous Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (continuous flow); mild (discontinuous with a systolic and a diastolic phase); severe (discontinuous with only a diastolic phase during the cardiac cycle). magent does not perform ultrasound.",
                          "enum": [
                            "normal",
                            "mild",
                            "severe"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "ivc_dilated",
                        "hepatic",
                        "portal",
                        "renal"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "vexus",
    "vexus-c",
    "congestion",
    "hemodynamics",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T16:17:18.262Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T16:17:18.058Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "hepatic": "normal",
                  "ivc_dilated": false,
                  "portal": "normal",
                  "renal": "normal"
                },
                {
                  "hepatic": "normal",
                  "ivc_dilated": false,
                  "portal": "normal",
                  "renal": "normal"
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY",
                    "doi": "10.1186/s13089-020-00163-w",
                    "id": "beaubien-souligny-2020",
                    "pmid": "32270297",
                    "source": "Ultrasound J. 2020;12(1):16",
                    "title": "Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"
                  },
                  "components": [
                    {
                      "factor": "ivc_dilated",
                      "met": false
                    },
                    {
                      "factor": "hepatic_severe",
                      "met": false,
                      "value": "normal"
                    },
                    {
                      "factor": "portal_severe",
                      "met": false,
                      "value": "normal"
                    },
                    {
                      "factor": "renal_severe",
                      "met": false,
                      "value": "normal"
                    },
                    {
                      "factor": "grade_0",
                      "met": true
                    },
                    {
                      "factor": "grade_1",
                      "met": false
                    },
                    {
                      "factor": "grade_2",
                      "met": false
                    },
                    {
                      "factor": "grade_3",
                      "met": 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.",
                  "formula": "vexus",
                  "formula_expression": "VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E",
                  "hepatic": "normal",
                  "ivc_dilated": false,
                  "portal": "normal",
                  "renal": "normal",
                  "severe_doppler_count": 0,
                  "vexus_grade": 0
                },
                {
                  "citation": {
                    "authors": "Beaubien-Souligny W, Rola P, Haycock K, Bouchard J, Lamarche Y, Spiegel R, Denault AY",
                    "doi": "10.1186/s13089-020-00163-w",
                    "id": "beaubien-souligny-2020",
                    "pmid": "32270297",
                    "source": "Ultrasound J. 2020;12(1):16",
                    "title": "Quantifying systemic congestion with Point-Of-Care ultrasound: development of the venous excess ultrasound grading system"
                  },
                  "components": [
                    {
                      "factor": "ivc_dilated",
                      "met": false
                    },
                    {
                      "factor": "hepatic_severe",
                      "met": false,
                      "value": "normal"
                    },
                    {
                      "factor": "portal_severe",
                      "met": false,
                      "value": "normal"
                    },
                    {
                      "factor": "renal_severe",
                      "met": false,
                      "value": "normal"
                    },
                    {
                      "factor": "grade_0",
                      "met": true
                    },
                    {
                      "factor": "grade_1",
                      "met": false
                    },
                    {
                      "factor": "grade_2",
                      "met": false
                    },
                    {
                      "factor": "grade_3",
                      "met": 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.",
                  "formula": "vexus",
                  "formula_expression": "VExUS C grade 0 if ivc_dilated is false (regardless of Doppler); else 1 if zero of hepatic/portal/renal are severe; 2 if exactly one is severe; 3 if two or more are severe (Beaubien-Souligny 2020 prototype C). Hepatic: normal (triphasic S>D toward liver), mild (S<D toward liver), severe (S reversed toward heart). Portal: mild pulsatility 30 to <50%, severe ≥50%. Renal: mild discontinuous S and D, severe only D. IVC dilated iff maximal diameter ≥2 cm as assigned. Not prototypes A, B, D, E",
                  "hepatic": "normal",
                  "ivc_dilated": false,
                  "portal": "normal",
                  "renal": "normal",
                  "severe_doppler_count": 0,
                  "vexus_grade": 0
                }
              ],
              "path": "/api/calc/vexus"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "hepatic": {
                            "description": "Hepatic-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (not mild and not severe; triphasic S > D toward the liver); mild (S component lower in magnitude than D but still toward the liver); severe (S component reversed, toward the heart). magent does not perform ultrasound.",
                            "enum": [
                              "normal",
                              "mild",
                              "severe"
                            ],
                            "type": "string"
                          },
                          "ivc_dilated": {
                            "description": "Whether the IVC is dilated as assigned by the caller. Dilated iff maximal IVC diameter ≥2 cm (Beaubien-Souligny 2020). true or false. Grade 0 whenever this is false, regardless of Doppler. magent does not measure IVC.",
                            "type": "boolean"
                          },
                          "portal": {
                            "description": "Portal-vein Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1 caption): normal (pulsatility fraction not in the mild or severe bands); mild (velocity variation 30 to <50%); severe (variation ≥50%). magent does not perform ultrasound.",
                            "enum": [
                              "normal",
                              "mild",
                              "severe"
                            ],
                            "type": "string"
                          },
                          "renal": {
                            "description": "Intra-renal venous Doppler grade as assigned by the caller (Beaubien-Souligny 2020 Figure 1): normal (continuous flow); mild (discontinuous with a systolic and a diastolic phase); severe (discontinuous with only a diastolic phase during the cardiac cycle). magent does not perform ultrasound.",
                            "enum": [
                              "normal",
                              "mild",
                              "severe"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "ivc_dilated",
                          "hepatic",
                          "portal",
                          "renal"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}