# RUIS (Revised Urinary Incontinence Scale) Calculator

> RUIS (Revised Urinary Incontinence Scale) 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).

Computes the Sansoni 2008 RUIS total score (0–16) from five caller-assigned item scores covering urgency, activity, drops leakage, frequency, and amount

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/ruis
- 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/ruis-revised-urinary-incontinence-scale-calculator-344c3c34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7QRiJ4W23C68svW_546yS

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 ruis-revised-urinary-incontinence-scale-calculator-344c3c34
```

Example prompt: Calculate the RUIS score for a patient with urgency leakage rated 2, activity leakage rated 1, drops leakage rated 1, leakage frequency rated 3, and leakage amount rated 2.

## When to prefer this

Use this endpoint when you need to programmatically compute a validated RUIS (Revised Urinary Incontinence Scale) total score from pre-collected item responses according to the Sansoni 2008 scoring algorithm. It is appropriate when a clinician or researcher has already gathered the five RUIS item responses and needs a reliable, auditable sum. Prefer it over manual calculation to avoid arithmetic errors in a scoring pipeline. Do not use it as a patient-interview tool, diagnostic system, or to apply ISI-style severity cutoffs.

## Known failure modes

- Missing any required query parameter returns an error
- Out-of-range integer for any item (e.g. urgency_leakage=4 or leakage_frequency=5) is rejected — each item has a strict enum
- Non-integer or float values for item scores are rejected
- HTTP 402 Payment Required if x402 payment is not included
- Network timeout on slow connections

## How this service works

Sansoni 2008 RUIS: five caller-assigned integers for urgency leakage, activity leakage, and drops leakage (each 0-3), leakage frequency (0-4), and leakage amount (0-3). Sum 0-16. magent does not interview the patient. Sansoni 2008 published no mild/moderate/severe RUIS total-score bands; ISI frequency×amount cuts are not applied. Not a diagnosis, not a continence-procedure order, and not a medical device.

## Output

Returns the computed RUIS total score as an integer between 0 and 16, derived by summing the five caller-provided item scores (urgency_leakage + activity_leakage + drops_leakage + leakage_frequency + leakage_amount). No severity band classification (mild/moderate/severe) is applied, as Sansoni 2008 published none. The endpoint does not interview patients and the result is not a diagnosis.

## 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": [
      "urgency_leakage",
      "activity_leakage",
      "drops_leakage",
      "leakage_frequency",
      "leakage_amount"
     ],
     "properties": {
      "drops_leakage": {
       "enum": [
        0,
        1,
        2,
        3
       ],
       "type": "integer",
       "description": "Caller-assigned Sansoni 2008 RUIS item 3 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): small amounts of urine leakage (drops). magent does not interview the patient."
      },
      "leakage_amount": {
       "enum": [
        0,
        1,
        2,
        3
       ],
       "type": "integer",
       "description": "Caller-assigned Sansoni 2008 RUIS item 5 (integer 0-3: 0 none, 1 drops, 2 small splashes, 3 more): how much urine is lost each time. magent does not interview the patient."
      },
      "urgency_leakage": {
       "enum": [
        0,
        1,
        2,
        3
       ],
       "type": "integer",
       "description": "Caller-assigned Sansoni 2008 RUIS item 1 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): urine leakage related to the feeling of urgency. magent does not interview the patient."
      },
      "activity_leakage": {
       "enum": [
        0,
        1,
        2,
        3
       ],
       "type": "integer",
       "description": "Caller-assigned Sansoni 2008 RUIS item 2 (integer 0-3: 0 not at all, 1 slightly, 2 moderately, 3 greatly): urine leakage related to physical activity, coughing or sneezing. magent does not interview the patient."
      },
      "leakage_frequency": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer",
       "description": "Caller-assigned Sansoni 2008 RUIS item 4 (integer 0-4: 0 never, 1 less than once a month, 2 a few times a month, 3 a few times a week, 4 every day and/or night): how often urine leakage is experienced. magent does not interview
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ruis-revised-urinary-incontinence-scale-calculator-344c3c34/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)
