{
  "x402Version": 2,
  "id": 38869,
  "slug": "38869",
  "resource": "https://api.magentlab.com/api/calc/rest_lgs",
  "description": "Wolf 2024 REST-LGS: four major criteria (+3 each) and four minor (+1 each). Max 16. likely if score > 11, possible if 8-11, unlikely if < 8. Caller-assigned flags only; magent does not read EEG. Screening, not a diagnosis of Lennox-Gastaut syndrome. Not the 2019 CRF count threshold.",
  "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": [
              {
                "cognitive_impairment_since_childhood": false,
                "helmet_or_head_face_injury": false,
                "other_eeg_abnormalities": false,
                "persistent_seizures_despite_two_asms": false,
                "seizure_onset_before_12": false,
                "slow_spike_wave": false,
                "two_or_more_seizure_types": false,
                "vns_keto_or_surgery": false
              },
              {
                "cognitive_impairment_since_childhood": false,
                "helmet_or_head_face_injury": false,
                "other_eeg_abnormalities": false,
                "persistent_seizures_despite_two_asms": false,
                "seizure_onset_before_12": false,
                "slow_spike_wave": false,
                "two_or_more_seizure_types": false,
                "vns_keto_or_surgery": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "citation": {
                  "authors": "Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE",
                  "doi": "10.1002/epi4.12952",
                  "id": "wolf-2024",
                  "pmid": "38726917",
                  "source": "Epilepsia Open. 2024;9(4):1277-1286",
                  "title": "Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"
                },
                "components": [
                  {
                    "factor": "two_or_more_seizure_types",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "seizure_onset_before_12",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "slow_spike_wave",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cognitive_impairment_since_childhood",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "persistent_seizures_despite_two_asms",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "vns_keto_or_surgery",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "helmet_or_head_face_injury",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "other_eeg_abnormalities",
                    "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.",
                "formula": "rest_lgs",
                "formula_expression": "REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)",
                "lgs_screen": "unlikely",
                "major_count": 0,
                "max_score": 16,
                "minor_count": 0,
                "score": 0
              },
              {
                "citation": {
                  "authors": "Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE",
                  "doi": "10.1002/epi4.12952",
                  "id": "wolf-2024",
                  "pmid": "38726917",
                  "source": "Epilepsia Open. 2024;9(4):1277-1286",
                  "title": "Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"
                },
                "components": [
                  {
                    "factor": "two_or_more_seizure_types",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "seizure_onset_before_12",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "slow_spike_wave",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "cognitive_impairment_since_childhood",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "persistent_seizures_despite_two_asms",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "vns_keto_or_surgery",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "helmet_or_head_face_injury",
                    "points": 0,
                    "present": false
                  },
                  {
                    "factor": "other_eeg_abnormalities",
                    "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.",
                "formula": "rest_lgs",
                "formula_expression": "REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)",
                "lgs_screen": "unlikely",
                "major_count": 0,
                "max_score": 16,
                "minor_count": 0,
                "score": 0
              }
            ],
            "path": "/api/calc/rest_lgs"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "cognitive_impairment_since_childhood": {
                          "description": "Cognitive impairment since childhood (Wolf 2024 major, +3), which may include past or current learning difficulties, special education, autism, intellectual disabilities, or developmental delays. true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "helmet_or_head_face_injury": {
                          "description": "Evidence of seizure-related helmet use or head/face injury (Wolf 2024 minor, +1). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "other_eeg_abnormalities": {
                          "description": "Other EEG abnormalities: multifocal spikes, symptomatic generalized discharges, generalized periods of attenuation of background/electrodecrement, or paroxysmal fast activity (Wolf 2024 minor, +1). true or false as assigned by the caller. magent does not read EEG.",
                          "type": "boolean"
                        },
                        "persistent_seizures_despite_two_asms": {
                          "description": "Persistent seizures despite a trial of two or more antiseizure medications (Wolf 2024 minor, +1). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "seizure_onset_before_12": {
                          "description": "Seizure onset at younger than 12 years of age (Wolf 2024 major, +3). Age 12 does not meet. true or false as assigned by the caller. magent does not take numeric age.",
                          "type": "boolean"
                        },
                        "slow_spike_wave": {
                          "description": "History of slow spike-wave (SSW, <2.5 Hz) on EEG (Wolf 2024 major, +3). true or false as assigned by the caller. magent does not read EEG.",
                          "type": "boolean"
                        },
                        "two_or_more_seizure_types": {
                          "description": "Two or more seizure types (Wolf 2024 major, +3). true or false as assigned by the caller.",
                          "type": "boolean"
                        },
                        "vns_keto_or_surgery": {
                          "description": "History of vagal nerve stimulation, ketogenic diet therapy, or epilepsy surgery (Wolf 2024 minor, +1). true or false as assigned by the caller.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "two_or_more_seizure_types",
                        "seizure_onset_before_12",
                        "slow_spike_wave",
                        "cognitive_impairment_since_childhood",
                        "persistent_seizures_despite_two_asms",
                        "vns_keto_or_surgery",
                        "helmet_or_head_face_injury",
                        "other_eeg_abnormalities"
                      ],
                      "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": [
    "rest-lgs",
    "lgs",
    "epilepsy",
    "neurology",
    "screening",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T12:21:50.659Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-13T12:21:50.524Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "cognitive_impairment_since_childhood": false,
                  "helmet_or_head_face_injury": false,
                  "other_eeg_abnormalities": false,
                  "persistent_seizures_despite_two_asms": false,
                  "seizure_onset_before_12": false,
                  "slow_spike_wave": false,
                  "two_or_more_seizure_types": false,
                  "vns_keto_or_surgery": false
                },
                {
                  "cognitive_impairment_since_childhood": false,
                  "helmet_or_head_face_injury": false,
                  "other_eeg_abnormalities": false,
                  "persistent_seizures_despite_two_asms": false,
                  "seizure_onset_before_12": false,
                  "slow_spike_wave": false,
                  "two_or_more_seizure_types": false,
                  "vns_keto_or_surgery": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "citation": {
                    "authors": "Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE",
                    "doi": "10.1002/epi4.12952",
                    "id": "wolf-2024",
                    "pmid": "38726917",
                    "source": "Epilepsia Open. 2024;9(4):1277-1286",
                    "title": "Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"
                  },
                  "components": [
                    {
                      "factor": "two_or_more_seizure_types",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "seizure_onset_before_12",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "slow_spike_wave",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cognitive_impairment_since_childhood",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "persistent_seizures_despite_two_asms",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "vns_keto_or_surgery",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "helmet_or_head_face_injury",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "other_eeg_abnormalities",
                      "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.",
                  "formula": "rest_lgs",
                  "formula_expression": "REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)",
                  "lgs_screen": "unlikely",
                  "major_count": 0,
                  "max_score": 16,
                  "minor_count": 0,
                  "score": 0
                },
                {
                  "citation": {
                    "authors": "Wolf SM, Boyce D, Peña P, Piña-Garza JE, Roland JJ, Thomas B, Zogejani D, McGoldrick PE",
                    "doi": "10.1002/epi4.12952",
                    "id": "wolf-2024",
                    "pmid": "38726917",
                    "source": "Epilepsia Open. 2024;9(4):1277-1286",
                    "title": "Real-world use of the updated refractory epilepsy screening tool for Lennox-Gastaut syndrome"
                  },
                  "components": [
                    {
                      "factor": "two_or_more_seizure_types",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "seizure_onset_before_12",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "slow_spike_wave",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "cognitive_impairment_since_childhood",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "persistent_seizures_despite_two_asms",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "vns_keto_or_surgery",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "helmet_or_head_face_injury",
                      "points": 0,
                      "present": false
                    },
                    {
                      "factor": "other_eeg_abnormalities",
                      "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.",
                  "formula": "rest_lgs",
                  "formula_expression": "REST-LGS = 3*two_or_more_seizure_types + 3*seizure_onset_before_12 + 3*slow_spike_wave + 3*cognitive_impairment_since_childhood + persistent_seizures_despite_two_asms + vns_keto_or_surgery + helmet_or_head_face_injury + other_eeg_abnormalities; each major 3, each minor 1; max 16; likely if score > 11; possible if 8-11; unlikely if score < 8 (Wolf 2024)",
                  "lgs_screen": "unlikely",
                  "major_count": 0,
                  "max_score": 16,
                  "minor_count": 0,
                  "score": 0
                }
              ],
              "path": "/api/calc/rest_lgs"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "cognitive_impairment_since_childhood": {
                            "description": "Cognitive impairment since childhood (Wolf 2024 major, +3), which may include past or current learning difficulties, special education, autism, intellectual disabilities, or developmental delays. true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "helmet_or_head_face_injury": {
                            "description": "Evidence of seizure-related helmet use or head/face injury (Wolf 2024 minor, +1). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "other_eeg_abnormalities": {
                            "description": "Other EEG abnormalities: multifocal spikes, symptomatic generalized discharges, generalized periods of attenuation of background/electrodecrement, or paroxysmal fast activity (Wolf 2024 minor, +1). true or false as assigned by the caller. magent does not read EEG.",
                            "type": "boolean"
                          },
                          "persistent_seizures_despite_two_asms": {
                            "description": "Persistent seizures despite a trial of two or more antiseizure medications (Wolf 2024 minor, +1). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "seizure_onset_before_12": {
                            "description": "Seizure onset at younger than 12 years of age (Wolf 2024 major, +3). Age 12 does not meet. true or false as assigned by the caller. magent does not take numeric age.",
                            "type": "boolean"
                          },
                          "slow_spike_wave": {
                            "description": "History of slow spike-wave (SSW, <2.5 Hz) on EEG (Wolf 2024 major, +3). true or false as assigned by the caller. magent does not read EEG.",
                            "type": "boolean"
                          },
                          "two_or_more_seizure_types": {
                            "description": "Two or more seizure types (Wolf 2024 major, +3). true or false as assigned by the caller.",
                            "type": "boolean"
                          },
                          "vns_keto_or_surgery": {
                            "description": "History of vagal nerve stimulation, ketogenic diet therapy, or epilepsy surgery (Wolf 2024 minor, +1). true or false as assigned by the caller.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "two_or_more_seizure_types",
                          "seizure_onset_before_12",
                          "slow_spike_wave",
                          "cognitive_impairment_since_childhood",
                          "persistent_seizures_despite_two_asms",
                          "vns_keto_or_surgery",
                          "helmet_or_head_face_injury",
                          "other_eeg_abnormalities"
                        ],
                        "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"
  }
}