# magent UCEIS Calculator (Travis 2013)

> magent UCEIS Calculator (Travis 2013) 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).

Computes the Travis 2013 Ulcerative Colitis Endoscopic Index of Severity (UCEIS) score (0–8) from three caller-assigned sigmoidoscopy findings: vascular pattern, bleeding, and erosions/ulcers.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/uceis
- 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-uceis-calculator-travis-2013-81e45739
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Io9nmJCzXlhAddTI5BmOt

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-uceis-calculator-travis-2013-81e45739
```

Example prompt: Calculate the UCEIS score for a patient whose worst sigmoidoscopy segment shows obliterated vascular pattern, luminal mild bleeding, and superficial ulcers.

## When to prefer this

Choose this endpoint when you need to programmatically compute a Travis 2013 UCEIS score (0–8 scale) from already-assessed endoscopy findings in an automated or agentic workflow. Prefer it over manual lookup tables when building clinical decision-support pipelines, audit trails, or EHR integrations that need a validated, reproducible UCEIS calculation. Do not use if you need the 2012 UCEIS (3–11), Mayo Endoscopic Score (MES), Mayo Disease Activity Index (DAI), or Travis 1996 day-3 score — those are distinct instruments.

## Known failure modes

- Missing required query parameter (vascular_pattern, bleeding, or erosions_ulcers) returns a 4xx validation error
- Invalid enum value for any parameter returns a 4xx error
- Payment not included or insufficient USDC returns 402 Payment Required
- Network timeout or server error returns 5xx

## How this service works

Travis 2013 UCEIS: caller-assigned vascular_pattern (normal 0, patchy 1, obliterated 2), bleeding (none 0, mucosal 1, luminal_mild 2, luminal_moderate_or_severe 3), erosions_ulcers (none 0, erosions 1, superficial_ulcer 2, deep_ulcer 3) at the worst-affected sigmoidoscopy segment. magent sums only (max 8; 2013 0-8 recode, not 2012 3-11) with no activity bands. magent does not perform endoscopy. Not Mayo DAI, MES, or Travis 1996 day-3. Not a diagnosis.

## Output

Returns the Travis 2013 UCEIS integer total score (0–8), computed as the numeric sum of the three component values: vascular pattern (0–2), bleeding (0–3), and erosions/ulcers (0–3). Uses the 2013 recode (0–8 scale) rather than the 2012 scale (3–11). No activity bands are returned; this is a raw score only.

## 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": [
      "vascular_pattern",
      "bleeding",
      "erosions_ulcers"
     ],
     "properties": {
      "bleeding": {
       "enum": [
        "none",
        "mucosal",
        "luminal_mild",
        "luminal_moderate_or_severe"
       ],
       "type": "string",
       "description": "Caller-assigned Travis 2013 UCEIS bleeding at the most severely affected segment, scored during insertion: none (0; no visible blood), mucosal (1; spots or streaks of coagulated blood on the mucosa ahead of the scope that can be washed away), luminal_mild (2; some free liquid blood in the lumen), or luminal_moderate_or_severe (3; frank blood in the lumen ahead of the endoscope, or visible oozing after washing, or oozing from hemorrhagic mucosa). magent does not perform endoscopy."
      },
      "erosions_ulcers": {
       "enum": [
        "none",
        "erosions",
        "superficial_ulcer",
        "deep_ulcer"
       ],
       "type": "string",
       "description": "Caller-assigned Travis 2013 UCEIS erosions and ulcers at the most severely affected segment: none (0; normal mucosa, no visible erosions or ulcers), erosions (1; tiny ≤5 mm white or yellow mucosal defects with a flat edge), superficial_ulcer (2; larger >5 mm discrete fibrin-covered superficial ulcers), or deep_ulcer (3; deeper excavated defects with a slightly raised edge). magent does not perform endoscopy."
      },
      "vascular_pattern": {
       "enum": [
        "normal",
        "patchy",
        "obliterated"
       ],
       "type": "string",
       "description": "Caller-assigned Travis 2013 UCEIS vascular pattern at the most severely affected flexible-sigmoidoscopy segment: normal (0; arborization of capillaries clearly defined, or blurring or patchy loss of capillary margins), patchy (1; patchy obliteration of vascular pattern), or obliterated (2; complete obliteration). Travis 2013 0-8 recode (normal 0, not Travis 2012 score 1
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-uceis-calculator-travis-2013-81e45739/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)
