# magent Rome IV Rumination Syndrome Calculator

> magent Rome IV Rumination Syndrome Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Evaluates whether a patient meets the Rome IV (Stanghellini 2016) diagnostic criteria for rumination syndrome based on four boolean clinical criteria

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_rumination
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-rome-iv-rumination-syndrome-calculator-e49aff3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kLWg8wXEJSQS03yiW_09u

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magent-rome-iv-rumination-syndrome-calculator-e49aff3d
```

Example prompt: My patient has persistent regurgitation of recently ingested food without preceding retching, symptoms have been present for the last 3 months, and onset was over 6 months ago — do they meet Rome IV criteria for rumination syndrome?

## When to prefer this

Use this endpoint when you need a deterministic, structured evaluation of the Rome IV (Stanghellini 2016) rumination syndrome criteria and you have already collected and assigned all four required boolean clinical findings. Prefer this over manual lookup when building a clinical decision support workflow or automating functional GI disorder screening. Do not use if you need diagnosis, history-taking, or differentiation from CHS, CVS, or GERD.

## Known failure modes

- Missing required query parameters returns a validation error
- Passing non-boolean values for boolean fields may cause a parsing error
- Endpoint does not validate clinical plausibility — all four booleans must be explicitly assigned by the caller
- Cannot handle ambiguous or null clinical findings — caller must resolve uncertainty before querying

## How this service works

Stanghellini 2016 Rome IV rumination syndrome. rome_iv_rumination is true iff persistent or recurrent regurgitation of recently ingested food with subsequent spitting or remastication and swallowing, regurgitation not preceded by retching, last-3-months criteria, and 6-month onset. Supportive remarks (effortless, not preceded by nausea, recognizable food, ceases when acidic) are copy-only and not parsed. magent does not observe regurgitation. Not a diagnosis, not CHS, not CVS, not GERD.

## Output

Returns a boolean field rome_iv_rumination indicating true if all four Rome IV rumination syndrome criteria (Stanghellini 2016) are simultaneously met: persistent or recurrent regurgitation of recently ingested food, regurgitation not preceded by retching, criteria fulfilled for the last 3 months, and symptom onset at least 6 months prior. Returns false otherwise. Does not diagnose, does not take history, does not distinguish from CHS, CVS, or GERD.

## Request schema (JSON Schema)

```json
{
 "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": [
      "persistent_or_recurrent_regurgitation_of_recently_ingested_food",
      "regurgitation_not_preceded_by_retching",
      "fulfilled_last_3_months",
      "onset_at_least_6_months"
     ],
     "properties": {
      "fulfilled_last_3_months": {
       "type": "boolean",
       "description": "Criteria fulfilled for the last 3 months, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."
      },
      "onset_at_least_6_months": {
       "type": "boolean",
       "description": "Symptom onset at least 6 months prior to diagnosis, as assigned (Stanghellini 2016). true or false as assigned by the caller. magent does not take a history."
      },
      "regurgitation_not_preceded_by_retching": {
       "type": "boolean",
       "description": "Regurgitation is not preceded by retching (Stanghellini 2016). true or false as assigned by the caller. magent does not observe regurgitation."
      },
      "persistent_or_recurrent_regurgitation_of_recently_ingested_food": {
       "type": "boolean",
       "description": "Persistent or recurrent regurgitation of recently ingested food into the mouth with subsequent spitting or remastication and swallowing (Stanghellini 2016 Rome IV rumination syndrome B4). true or false as assigned by the caller. magent does not observe regurgitation."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-rome-iv-rumination-syndrome-calculator-e49aff3d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
