{
  "x402Version": 2,
  "id": 39276,
  "slug": "39276",
  "resource": "https://api.magentlab.com/api/calc/brue",
  "description": "BRUE (Tieder 2016 AAP). brue is true iff the infant is younger than 1 year, the episode was sudden, brief, and now resolved, no explanation remains after appropriate history and physical examination, and at least one of: cyanosis or pallor; absent, decreased, or irregular breathing; marked change in tone; altered level of responsiveness. feature_count is 0-4. Caller assigns seven flags. magent does not examine the infant. Not a diagnosis, not ALTE, not SIDS.",
  "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": [
              {
                "absent_decreased_irregular_breathing": false,
                "age_under_1_year": true,
                "altered_responsiveness": false,
                "cyanosis_or_pallor": true,
                "marked_tone_change": false,
                "sudden_brief_now_resolved": true,
                "unexplained_after_history_exam": true
              },
              {
                "absent_decreased_irregular_breathing": false,
                "age_under_1_year": true,
                "altered_responsiveness": false,
                "cyanosis_or_pallor": true,
                "marked_tone_change": false,
                "sudden_brief_now_resolved": true,
                "unexplained_after_history_exam": true
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "brue": true,
                "citation": {
                  "authors": "Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events",
                  "doi": "10.1542/peds.2016-0590",
                  "id": "tieder-2016",
                  "pmid": "27244835",
                  "source": "Pediatrics. 2016;137(5):e20160590",
                  "title": "Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"
                },
                "criteria": [
                  {
                    "factor": "age_under_1_year",
                    "met": true
                  },
                  {
                    "factor": "sudden_brief_now_resolved",
                    "met": true
                  },
                  {
                    "factor": "cyanosis_or_pallor",
                    "met": true
                  },
                  {
                    "factor": "absent_decreased_irregular_breathing",
                    "met": false
                  },
                  {
                    "factor": "marked_tone_change",
                    "met": false
                  },
                  {
                    "factor": "altered_responsiveness",
                    "met": false
                  },
                  {
                    "factor": "unexplained_after_history_exam",
                    "met": true
                  },
                  {
                    "factor": "feature_count_ge_1",
                    "met": true,
                    "value": 1
                  }
                ],
                "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.",
                "feature_count": 1,
                "formula": "brue",
                "formula_expression": "brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"
              },
              {
                "brue": true,
                "citation": {
                  "authors": "Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events",
                  "doi": "10.1542/peds.2016-0590",
                  "id": "tieder-2016",
                  "pmid": "27244835",
                  "source": "Pediatrics. 2016;137(5):e20160590",
                  "title": "Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"
                },
                "criteria": [
                  {
                    "factor": "age_under_1_year",
                    "met": true
                  },
                  {
                    "factor": "sudden_brief_now_resolved",
                    "met": true
                  },
                  {
                    "factor": "cyanosis_or_pallor",
                    "met": true
                  },
                  {
                    "factor": "absent_decreased_irregular_breathing",
                    "met": false
                  },
                  {
                    "factor": "marked_tone_change",
                    "met": false
                  },
                  {
                    "factor": "altered_responsiveness",
                    "met": false
                  },
                  {
                    "factor": "unexplained_after_history_exam",
                    "met": true
                  },
                  {
                    "factor": "feature_count_ge_1",
                    "met": true,
                    "value": 1
                  }
                ],
                "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.",
                "feature_count": 1,
                "formula": "brue",
                "formula_expression": "brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"
              }
            ],
            "path": "/api/calc/brue"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "absent_decreased_irregular_breathing": {
                          "description": "Absent, decreased, or irregular breathing during the episode (one of four event features; at least one required). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "age_under_1_year": {
                          "description": "Infant younger than 1 year as assigned by the caller (Tieder 2016 BRUE definition). true or false. magent does not examine the infant or take an age in days.",
                          "type": "boolean"
                        },
                        "altered_responsiveness": {
                          "description": "Altered level of responsiveness during the episode (one of four event features; at least one required). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "cyanosis_or_pallor": {
                          "description": "Cyanosis or pallor during the episode (one of four event features; at least one required). true or false as assigned by the caller. magent does not examine the infant.",
                          "type": "boolean"
                        },
                        "marked_tone_change": {
                          "description": "Marked change in tone (hyper- or hypotonia) during the episode (one of four event features; at least one required). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "sudden_brief_now_resolved": {
                          "description": "Observer reports a sudden, brief, and now resolved episode as assigned by the caller. true or false. magent does not take a history.",
                          "type": "boolean"
                        },
                        "unexplained_after_history_exam": {
                          "description": "No explanation remains after appropriate history and physical examination as assigned by the caller. true means unexplained and is required for BRUE. true or false. magent does not examine the infant.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "age_under_1_year",
                        "sudden_brief_now_resolved",
                        "cyanosis_or_pallor",
                        "absent_decreased_irregular_breathing",
                        "marked_tone_change",
                        "altered_responsiveness",
                        "unexplained_after_history_exam"
                      ],
                      "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": [
    "brue",
    "emergency",
    "pediatric",
    "infant",
    "alte",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T00:41:05.418Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T00:41:05.3Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "absent_decreased_irregular_breathing": false,
                  "age_under_1_year": true,
                  "altered_responsiveness": false,
                  "cyanosis_or_pallor": true,
                  "marked_tone_change": false,
                  "sudden_brief_now_resolved": true,
                  "unexplained_after_history_exam": true
                },
                {
                  "absent_decreased_irregular_breathing": false,
                  "age_under_1_year": true,
                  "altered_responsiveness": false,
                  "cyanosis_or_pallor": true,
                  "marked_tone_change": false,
                  "sudden_brief_now_resolved": true,
                  "unexplained_after_history_exam": true
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "brue": true,
                  "citation": {
                    "authors": "Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events",
                    "doi": "10.1542/peds.2016-0590",
                    "id": "tieder-2016",
                    "pmid": "27244835",
                    "source": "Pediatrics. 2016;137(5):e20160590",
                    "title": "Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"
                  },
                  "criteria": [
                    {
                      "factor": "age_under_1_year",
                      "met": true
                    },
                    {
                      "factor": "sudden_brief_now_resolved",
                      "met": true
                    },
                    {
                      "factor": "cyanosis_or_pallor",
                      "met": true
                    },
                    {
                      "factor": "absent_decreased_irregular_breathing",
                      "met": false
                    },
                    {
                      "factor": "marked_tone_change",
                      "met": false
                    },
                    {
                      "factor": "altered_responsiveness",
                      "met": false
                    },
                    {
                      "factor": "unexplained_after_history_exam",
                      "met": true
                    },
                    {
                      "factor": "feature_count_ge_1",
                      "met": true,
                      "value": 1
                    }
                  ],
                  "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.",
                  "feature_count": 1,
                  "formula": "brue",
                  "formula_expression": "brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"
                },
                {
                  "brue": true,
                  "citation": {
                    "authors": "Tieder JS, Bonkowsky JL, Etzel RA, et al; American Academy of Pediatrics Subcommittee on Apparent Life-Threatening Events",
                    "doi": "10.1542/peds.2016-0590",
                    "id": "tieder-2016",
                    "pmid": "27244835",
                    "source": "Pediatrics. 2016;137(5):e20160590",
                    "title": "Brief Resolved Unexplained Events (Formerly Apparent Life-Threatening Events) and Evaluation of Lower-Risk Infants"
                  },
                  "criteria": [
                    {
                      "factor": "age_under_1_year",
                      "met": true
                    },
                    {
                      "factor": "sudden_brief_now_resolved",
                      "met": true
                    },
                    {
                      "factor": "cyanosis_or_pallor",
                      "met": true
                    },
                    {
                      "factor": "absent_decreased_irregular_breathing",
                      "met": false
                    },
                    {
                      "factor": "marked_tone_change",
                      "met": false
                    },
                    {
                      "factor": "altered_responsiveness",
                      "met": false
                    },
                    {
                      "factor": "unexplained_after_history_exam",
                      "met": true
                    },
                    {
                      "factor": "feature_count_ge_1",
                      "met": true,
                      "value": 1
                    }
                  ],
                  "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.",
                  "feature_count": 1,
                  "formula": "brue",
                  "formula_expression": "brue iff age_under_1_year and sudden_brief_now_resolved and unexplained_after_history_exam and feature_count >= 1; feature_count counts cyanosis_or_pallor, absent_decreased_irregular_breathing, marked_tone_change, and altered_responsiveness (Tieder 2016 AAP BRUE definition)"
                }
              ],
              "path": "/api/calc/brue"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "absent_decreased_irregular_breathing": {
                            "description": "Absent, decreased, or irregular breathing during the episode (one of four event features; at least one required). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "age_under_1_year": {
                            "description": "Infant younger than 1 year as assigned by the caller (Tieder 2016 BRUE definition). true or false. magent does not examine the infant or take an age in days.",
                            "type": "boolean"
                          },
                          "altered_responsiveness": {
                            "description": "Altered level of responsiveness during the episode (one of four event features; at least one required). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "cyanosis_or_pallor": {
                            "description": "Cyanosis or pallor during the episode (one of four event features; at least one required). true or false as assigned by the caller. magent does not examine the infant.",
                            "type": "boolean"
                          },
                          "marked_tone_change": {
                            "description": "Marked change in tone (hyper- or hypotonia) during the episode (one of four event features; at least one required). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "sudden_brief_now_resolved": {
                            "description": "Observer reports a sudden, brief, and now resolved episode as assigned by the caller. true or false. magent does not take a history.",
                            "type": "boolean"
                          },
                          "unexplained_after_history_exam": {
                            "description": "No explanation remains after appropriate history and physical examination as assigned by the caller. true means unexplained and is required for BRUE. true or false. magent does not examine the infant.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "age_under_1_year",
                          "sudden_brief_now_resolved",
                          "cyanosis_or_pallor",
                          "absent_decreased_irregular_breathing",
                          "marked_tone_change",
                          "altered_responsiveness",
                          "unexplained_after_history_exam"
                        ],
                        "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"
  }
}