# SLEDAI-2K Calculator (Gladman 2002)

> SLEDAI-2K Calculator (Gladman 2002) 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-15).

Computes the SLEDAI-2K disease activity score for systemic lupus erythematosus from 24 caller-assigned clinical descriptors observed in the last 10 days

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/sledai_2k
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sledai-2k-calculator-gladman-2002-3fb377c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AvrUBQBAkHRx0yHYqF1oc

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 sledai-2k-calculator-gladman-2002-3fb377c1
```

Example prompt: Calculate the SLEDAI-2K score for my lupus patient: over the last 10 days she had a seizure (true), rash (true), arthritis (true), fever (true), low complement (true), increased DNA binding (true), and all other 18 descriptors are false — give me the weighted total.

## When to prefer this

Use this endpoint when you need a standardized, reproducible SLEDAI-2K integer score computed from discrete clinical boolean flags using the Gladman 2002 criteria — particularly when you need the modified proteinuria threshold (>0.5 g/24h) and the persistent (not only new) scoring for rash, alopecia, and mucosal ulcers. Prefer over manual calculation to eliminate arithmetic errors in research or clinical documentation workflows.

## Known failure modes

- Missing any of the 24 required boolean query parameters returns an error
- Non-boolean values for descriptor flags cause validation failure
- Network timeout or server error returns HTTP 5xx
- Incorrect USDC payment or missing x402 payment header returns 402 Payment Required

## How this service works

Gladman 2002 SLEDAI-2K: weighted sum of 24 caller-assigned descriptors present in the last 10 days (max 105). magent does not examine the patient. Proteinuria scores if >0.5 g/24 h (not original SLEDAI >3.5 g/24 h only). Rash, alopecia, and mucosal ulcers score if new or persistent (not new only). Not a diagnosis, not SLICC damage, not SELENA-SLEDAI flare rules, and not a medical device.

## Output

Returns an integer SLEDAI-2K score (0–105) representing the weighted sum of the 24 present descriptors. Higher scores indicate greater lupus disease activity. The Gladman 2002 variant scores proteinuria if >0.5 g/24h and counts rash, alopecia, and mucosal ulcers whether new or persistent.

## 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": [
      "seizure",
      "psychosis",
      "organic_brain_syndrome",
      "visual_disturbance",
      "cranial_nerve_disorder",
      "lupus_headache",
      "cva",
      "vasculitis",
      "arthritis",
      "myositis",
      "urinary_casts",
      "hematuria",
      "proteinuria",
      "pyuria",
      "rash",
      "alopecia",
      "mucosal_ulcers",
      "pleurisy",
      "pericarditis",
      "low_complement",
      "increased_dna_binding",
      "fever",
      "thrombocytopenia",
      "leukopenia"
     ],
     "properties": {
      "cva": {
       "type": "boolean",
       "description": "Cerebrovascular accident in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): new onset of CVA(s). Exclude arteriosclerosis. true scores 8. magent does not read imaging."
      },
      "rash": {
       "type": "boolean",
       "description": "Rash in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): inflammatory type rash. Scores if new or persistent (not original SLEDAI new only). true scores 2. magent does not examine skin."
      },
      "fever": {
       "type": "boolean",
       "description": "Fever in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >38°C. Exclude infectious cause. true scores 1. magent does not measure temperature."
      },
      "pyuria": {
       "type": "boolean",
       "description": "Pyuria in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K): >5 white blood cells/high power field. Exclude infection. true scores 4. magent does not assay urine."
      },
      "seizure": {
       "type": "boolean",
       "description": "Seizure in the last 10 days as assigned by the caller (Gladman 2002 SLEDAI-2K). Recent onset. Exclude metabolic, infectious, or drug cause. true scores 8. magent does not examine the patient."
      },
      "alopecia": {
       "type": "boolean",
       "description": "Alope
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sledai-2k-calculator-gladman-2002-3fb377c1/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)
