# magent PSS-3 Suicide Risk Screener

> magent PSS-3 Suicide Risk Screener 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 Boudreaux 2015 PSS-3 suicide risk screen result (positive/negative) from four caller-assigned clinical flags, following the ED-SAFE protocol

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/pss_3
- 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-pss-3-suicide-risk-screener-2d54989a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iE2dnUp_ekbBh4YwbQDL8

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-pss-3-suicide-risk-screener-2d54989a
```

Example prompt: Run the PSS-3 suicide screen on this patient: they reported depressed mood over the past 2 weeks (true), they have active suicidal ideation in the past 2 weeks (true), they have no lifetime suicide attempt (false), and attempt within 6 months is false — tell me if they screen positive.

## When to prefer this

Use this endpoint when you need a fast, protocol-compliant PSS-3 (ED-SAFE / Boudreaux 2015/2016) suicide risk screen computation from four discrete caller-assigned flags — it is not C-SSRS, not a full clinical interview, and not a diagnosis. Prefer this over general-purpose LLM reasoning when you need an auditable, rule-based algorithm that faithfully implements the published PSS-3 screening logic without hallucination risk.

## Known failure modes

- Missing required query parameters (depressed_mood, ideation_2_weeks, lifetime_attempt, attempt_within_6_months) returns a 400 or validation error
- attempt_within_6_months set to true when lifetime_attempt is false — logically invalid combination per protocol
- Non-boolean values passed for flag parameters cause schema validation failure
- Network or upstream API errors return 5xx responses
- Payment/x402 authorization failure if USDC payment not provided

## How this service works

Boudreaux 2015 PSS-3 from four caller-assigned flags: depressed_mood (2-week segue, not in the screen), ideation_2_weeks, lifetime_attempt, and attempt_within_6_months. screen_positive if 2-week ideation or a lifetime attempt within 6 months (ED-SAFE / Boudreaux 2016 Am J Prev Med). Depression is not factored into screening results. magent does not interview the patient. Not a diagnosis. Not C-SSRS. Not a medical device.

## Output

Returns a structured JSON object indicating whether the patient screens positive for suicide risk (screen_positive boolean) based on the ED-SAFE / Boudreaux 2015 PSS-3 algorithm: positive if ideation_2_weeks is true OR if both lifetime_attempt and attempt_within_6_months are true. Depression flag is not factored into screen_positive. Not a diagnosis, not C-SSRS, not a medical device.

## 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": [
      "depressed_mood",
      "ideation_2_weeks",
      "lifetime_attempt",
      "attempt_within_6_months"
     ],
     "properties": {
      "depressed_mood": {
       "type": "boolean",
       "description": "Over the past 2 weeks, felt down, depressed, or hopeless (Boudreaux 2015 PSS-3 segue item). true or false as assigned by the caller. Not factored into screen_positive. magent does not interview the patient."
      },
      "ideation_2_weeks": {
       "type": "boolean",
       "description": "Active suicidal ideation in the past 2 weeks (Boudreaux 2015: over the past 2 weeks, thoughts of killing yourself). true or false as assigned by the caller. screen_positive is true if this is true. magent does not interview the patient."
      },
      "lifetime_attempt": {
       "type": "boolean",
       "description": "Lifetime suicide attempt (Boudreaux 2015: ever attempted to kill yourself). true or false as assigned by the caller. If false, attempt_within_6_months must be false. magent does not interview the patient."
      },
      "attempt_within_6_months": {
       "type": "boolean",
       "description": "Most recent suicide attempt was within 6 months (Boudreaux 2015 timing follow-up). true or false as assigned by the caller. Always required. If lifetime_attempt is false this must be false. screen_positive is true when lifetime_attempt and this are both true. magent does not interview the patient."
      }
     }
    }
   },
   "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-pss-3-suicide-risk-screener-2d54989a/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)
