{
  "x402Version": 2,
  "id": 39585,
  "slug": "39585",
  "resource": "https://api.magentlab.com/api/calc/rsbi",
  "description": "Rapid shallow breathing index (RSBI) as respiratory rate in breaths/min divided by tidal volume in liters (Yang and Tobin 1991). Provide tidal_volume_ml (50–2000) or tidal_volume_l (0.05–2.0), not both. Returns f/VT rounded to one decimal and whether that ratio is greater than 105 breaths/min/L. Not a wean order; magent does not perform a spontaneous breathing trial (SBT).",
  "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": [
              {
                "respiratory_rate": 20,
                "tidal_volume_l": 0.4,
                "tidal_volume_ml": 400
              },
              {
                "respiratory_rate": 20,
                "tidal_volume_l": 0.4,
                "tidal_volume_ml": 400
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Yang KL, Tobin MJ",
                  "doi": "10.1056/NEJM199105233242101",
                  "id": "yang-tobin-1991",
                  "source": "N Engl J Med. 1991;324(21):1445-1450",
                  "title": "A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"
                },
                "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": "rsbi",
                "formula_expression": "rsbi = respiratory_rate / tidal_volume_l",
                "respiratory_rate": 20,
                "rsbi": 50,
                "rsbi_gt_105": false,
                "tidal_volume_l": 0.4
              },
              {
                "citation": {
                  "authors": "Yang KL, Tobin MJ",
                  "doi": "10.1056/NEJM199105233242101",
                  "id": "yang-tobin-1991",
                  "source": "N Engl J Med. 1991;324(21):1445-1450",
                  "title": "A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"
                },
                "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": "rsbi",
                "formula_expression": "rsbi = respiratory_rate / tidal_volume_l",
                "respiratory_rate": 20,
                "rsbi": 50,
                "rsbi_gt_105": false,
                "tidal_volume_l": 0.4
              }
            ],
            "path": "/api/calc/rsbi"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "respiratory_rate": {
                          "description": "Respiratory rate in breaths/min (integer 4-80).",
                          "type": "integer"
                        },
                        "tidal_volume_l": {
                          "description": "Tidal volume in liters (0.05-2.0). Yang and Tobin RSBI uses VT in liters. Provide this or tidal_volume_ml, not both.",
                          "type": "number"
                        },
                        "tidal_volume_ml": {
                          "description": "Tidal volume in milliliters (50-2000). Converted as tidal_volume_l = tidal_volume_ml / 1000. Provide this or tidal_volume_l, not both.",
                          "type": "number"
                        }
                      },
                      "required": [
                        "respiratory_rate"
                      ],
                      "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": [
    "rsbi",
    "respiratory",
    "tidal-volume",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-12T13:36:24.633Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:36:24.512Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "respiratory_rate": 20,
                  "tidal_volume_l": 0.4,
                  "tidal_volume_ml": 400
                },
                {
                  "respiratory_rate": 20,
                  "tidal_volume_l": 0.4,
                  "tidal_volume_ml": 400
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Yang KL, Tobin MJ",
                    "doi": "10.1056/NEJM199105233242101",
                    "id": "yang-tobin-1991",
                    "source": "N Engl J Med. 1991;324(21):1445-1450",
                    "title": "A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"
                  },
                  "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": "rsbi",
                  "formula_expression": "rsbi = respiratory_rate / tidal_volume_l",
                  "respiratory_rate": 20,
                  "rsbi": 50,
                  "rsbi_gt_105": false,
                  "tidal_volume_l": 0.4
                },
                {
                  "citation": {
                    "authors": "Yang KL, Tobin MJ",
                    "doi": "10.1056/NEJM199105233242101",
                    "id": "yang-tobin-1991",
                    "source": "N Engl J Med. 1991;324(21):1445-1450",
                    "title": "A prospective study of indexes predicting the outcome of trials of weaning from mechanical ventilation"
                  },
                  "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": "rsbi",
                  "formula_expression": "rsbi = respiratory_rate / tidal_volume_l",
                  "respiratory_rate": 20,
                  "rsbi": 50,
                  "rsbi_gt_105": false,
                  "tidal_volume_l": 0.4
                }
              ],
              "path": "/api/calc/rsbi"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "respiratory_rate": {
                            "description": "Respiratory rate in breaths/min (integer 4-80).",
                            "type": "integer"
                          },
                          "tidal_volume_l": {
                            "description": "Tidal volume in liters (0.05-2.0). Yang and Tobin RSBI uses VT in liters. Provide this or tidal_volume_ml, not both.",
                            "type": "number"
                          },
                          "tidal_volume_ml": {
                            "description": "Tidal volume in milliliters (50-2000). Converted as tidal_volume_l = tidal_volume_ml / 1000. Provide this or tidal_volume_l, not both.",
                            "type": "number"
                          }
                        },
                        "required": [
                          "respiratory_rate"
                        ],
                        "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"
  }
}