# magent Surgical Wound Classification (CDC/HICPAC Class I-IV)

> magent Surgical Wound Classification (CDC/HICPAC Class I-IV) 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).

Looks up the CDC/HICPAC Mangram 1999 Table 7 label and description for a caller-assigned surgical wound classification integer (1–4).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/wound_class
- 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/magent-surgical-wound-classification-cdc-hicpac-class-i-iv-d271b3df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eMGxIoBeusHiSgA9GEXlj

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-surgical-wound-classification-cdc-hicpac-class-i-iv-d271b3df
```

Example prompt: The surgeon assigned wound class 3 to this case — can you look up the official CDC/HICPAC Mangram 1999 Table 7 label and description for that wound classification?

## When to prefer this

Use this endpoint when an agent needs to translate a caller-assigned integer wound class (1–4) into the official CDC/HICPAC Mangram 1999 Table 7 label and text description — e.g. for documentation, audit, or display purposes. Do not use this if you need SSI infection percentage rates, prophylaxis selection, or an automated wound assessment from clinical findings.

## Known failure modes

- wound_class outside 1–4 (e.g. 0, 5, 1.5) returns a validation error — only integers 1–4 are accepted
- roman numerals (e.g. 'I', 'III') are rejected; only integer values 1–4 are valid
- missing wound_class query parameter causes a bad request error
- endpoint does not return SSI infection rates or antimicrobial prophylaxis guidance — requests expecting that data will get an incomplete answer

## How this service works

CDC/HICPAC surgical wound classification Class I-IV as assigned by the caller (Mangram 1999 Table 7). Returns wound_class, class_label (e.g. I/Clean), and the published Table 7 description. magent does not inspect the wound. Not SSI percentage rates (not in Table 7). Not a diagnosis of infection. Not antimicrobial prophylaxis selection. Not a medical device.

## Output

Returns a JSON object with wound_class (integer 1–4), class_label (e.g. 'I/Clean', 'II/Clean-Contaminated', 'III/Contaminated', 'IV/Dirty-Infected'), and the verbatim published CDC/HICPAC Mangram 1999 Table 7 description for that class.

## 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": [
      "wound_class"
     ],
     "properties": {
      "wound_class": {
       "type": "integer",
       "description": "CDC/HICPAC surgical wound class 1-4 as assigned by the caller (Mangram 1999 Table 7: 1 Class I/Clean, uninfected operative wound, no inflammation, respiratory/alimentary/genital/uninfected urinary tract not entered; 2 Class II/Clean-Contaminated, those tracts entered under controlled conditions without unusual contamination; 3 Class III/Contaminated, open fresh accidental wounds, major break in technique, GI spillage, or acute nonpurulent inflammation; 4 Class IV/Dirty-Infected, old traumatic wounds with retained devitalized tissue, existing clinical infection, or perforated viscera). Integer 1-4 only; reject 0, 5, 1.5, and roman I. magent does not inspect the wound. Not SSI rates. Not AMP selection."
      }
     }
    }
   },
   "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-surgical-wound-classification-cdc-hicpac-class-i-iv-d271b3df/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)
