# CAPD Pediatric Delirium Score Calculator (Traube 2014)

> CAPD Pediatric Delirium Score Calculator (Traube 2014) 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 Cornell Assessment of Pediatric Delirium (CAPD) total score and screen-positive flag from 8 caller-supplied behavioral item ratings

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/capd
- 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/capd-pediatric-delirium-score-calculator-traube-2014-2fe773b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hOqr5tuup71HfA57FWG5N

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 capd-pediatric-delirium-score-calculator-traube-2014-2fe773b8
```

Example prompt: Calculate the CAPD pediatric delirium score for a child where eye contact is 1, purposeful actions is 1, awareness is 2, communication is 1, restless is 3, inconsolable is 2, underactive is 2, and delayed response is 3 — is the score above the screen-positive threshold?

## When to prefer this

Use this endpoint when you need a fast, reproducible computation of the Traube 2014 CAPD total score and screen-positive flag from 8 behavioral item ratings, particularly in automated clinical workflows, EHR integrations, or agent pipelines that assess pediatric patients for delirium in ICU or hospital settings. Prefer this over manual calculation to avoid reverse-scoring errors on items 1–4.

## Known failure modes

- Missing required query parameters returns an error
- Integer values outside 0–4 may cause validation errors or unexpected results
- Caller must apply clinical judgment for reverse-scoring input — the API accepts raw 0-4 integers and handles the reverse-score math internally per Traube 2014
- Network or payment failure (x402) prevents score retrieval
- No result adjustment for developmental delay — caller must account for clinical context

## How this service works

Traube 2014 CAPD: 8 caller-assigned integers 0-4. eye_contact, purposeful_actions, awareness, and communication are reverse-scored in that paper (never contributes 4; 0 is the never-delirium pole after that reverse key). Total 0-32. Screen-positive iff score ≥9. magent does not examine the child or invent a developmental-delay cutoff. Not a psychiatric diagnosis.

## Output

Returns the CAPD total score (integer 0–32, computed with reverse-scoring applied to eye_contact, purposeful_actions, awareness, and communication as per Traube 2014) and a boolean or equivalent screen-positive flag indicating whether the score is ≥9. Does not diagnose delirium or adjust for developmental delay.

## 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": [
      "eye_contact",
      "purposeful_actions",
      "awareness",
      "communication",
      "restless",
      "inconsolable",
      "underactive",
      "delayed_response"
     ],
     "properties": {
      "restless": {
       "type": "integer",
       "description": "Caller-assigned Traube 2014 CAPD item 5 (integer 0-4): is the child restless. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child."
      },
      "awareness": {
       "type": "integer",
       "description": "Caller-assigned Traube 2014 CAPD item 3 (integer 0-4). Reverse-scored in that paper: is the child aware of his/her surroundings. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child."
      },
      "eye_contact": {
       "type": "integer",
       "description": "Caller-assigned Traube 2014 CAPD item 1 (integer 0-4). Reverse-scored in that paper: does the child make eye contact with the caregiver. 0 is always (never-delirium pole after reverse scoring); 4 is never (never contributes 4). magent does not examine the child."
      },
      "underactive": {
       "type": "integer",
       "description": "Caller-assigned Traube 2014 CAPD item 7 (integer 0-4): is the child underactive — very little movement while awake. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child."
      },
      "inconsolable": {
       "type": "integer",
       "description": "Caller-assigned Traube 2014 CAPD item 6 (integer 0-4): is the child inconsolable. Adds as published (0 never, never-delirium pole, through 4 always). magent does not examine the child."
      },
      "communication": {
       "type": "integer",
       "description": "Caller-assigned Traube 2014 CAPD item 4 (integer 0-4). Reverse-scored in that paper: does the child communicate needs and wants. 0 is alw
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/capd-pediatric-delirium-score-calculator-traube-2014-2fe773b8/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)
