{
  "x402Version": 2,
  "id": 38940,
  "slug": "38940",
  "resource": "https://api.magentlab.com/api/calc/pss_3",
  "description": "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.",
  "type": "http",
  "serviceName": "magent",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 600
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "iconUrl": "https://api.magentlab.com/favicon.ico",
        "input": {
          "body": {
            "items": [
              {
                "attempt_within_6_months": false,
                "depressed_mood": false,
                "ideation_2_weeks": false,
                "lifetime_attempt": false
              },
              {
                "attempt_within_6_months": false,
                "depressed_mood": false,
                "ideation_2_weeks": false,
                "lifetime_attempt": false
              }
            ]
          },
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "items": [
              {
                "attempt_within_6_months": false,
                "citation": {
                  "authors": "Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH",
                  "doi": "10.1080/13811118.2015.1034604",
                  "id": "boudreaux-2015",
                  "pmid": "25826715",
                  "source": "Arch Suicide Res. 2015;19(2):151-160",
                  "title": "The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"
                },
                "components": [
                  {
                    "factor": "depressed_mood",
                    "met": false
                  },
                  {
                    "factor": "ideation_2_weeks",
                    "met": false
                  },
                  {
                    "factor": "lifetime_attempt",
                    "met": false
                  },
                  {
                    "factor": "attempt_within_6_months",
                    "met": false
                  }
                ],
                "depressed_mood": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "pss_3",
                "formula_expression": "screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS",
                "ideation_2_weeks": false,
                "lifetime_attempt": false,
                "screen_positive": false
              },
              {
                "attempt_within_6_months": false,
                "citation": {
                  "authors": "Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH",
                  "doi": "10.1080/13811118.2015.1034604",
                  "id": "boudreaux-2015",
                  "pmid": "25826715",
                  "source": "Arch Suicide Res. 2015;19(2):151-160",
                  "title": "The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"
                },
                "components": [
                  {
                    "factor": "depressed_mood",
                    "met": false
                  },
                  {
                    "factor": "ideation_2_weeks",
                    "met": false
                  },
                  {
                    "factor": "lifetime_attempt",
                    "met": false
                  },
                  {
                    "factor": "attempt_within_6_months",
                    "met": false
                  }
                ],
                "depressed_mood": false,
                "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                "formula": "pss_3",
                "formula_expression": "screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS",
                "ideation_2_weeks": false,
                "lifetime_attempt": false,
                "screen_positive": false
              }
            ],
            "path": "/api/calc/pss_3"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "items": {
                    "items": {
                      "properties": {
                        "attempt_within_6_months": {
                          "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.",
                          "type": "boolean"
                        },
                        "depressed_mood": {
                          "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.",
                          "type": "boolean"
                        },
                        "ideation_2_weeks": {
                          "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.",
                          "type": "boolean"
                        },
                        "lifetime_attempt": {
                          "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.",
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "depressed_mood",
                        "ideation_2_weeks",
                        "lifetime_attempt",
                        "attempt_within_6_months"
                      ],
                      "type": "object"
                    },
                    "maxItems": 25,
                    "minItems": 1,
                    "type": "array"
                  }
                },
                "required": [
                  "items"
                ],
                "type": "object"
              },
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "const": "POST",
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "pss-3",
    "suicide-screen",
    "emergency",
    "ed-safe",
    "calculator",
    "bazaar"
  ],
  "sourceHost": "api.magentlab.com",
  "lastUpdated": "2026-10-13T11:42:08.324Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-13T11:42:08.2Z"
  },
  "metadata": {
    "serviceName": "magent",
    "extensions": {
      "bazaar": {
        "info": {
          "iconUrl": "https://api.magentlab.com/favicon.ico",
          "input": {
            "body": {
              "items": [
                {
                  "attempt_within_6_months": false,
                  "depressed_mood": false,
                  "ideation_2_weeks": false,
                  "lifetime_attempt": false
                },
                {
                  "attempt_within_6_months": false,
                  "depressed_mood": false,
                  "ideation_2_weeks": false,
                  "lifetime_attempt": false
                }
              ]
            },
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "count": 2,
              "items": [
                {
                  "attempt_within_6_months": false,
                  "citation": {
                    "authors": "Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH",
                    "doi": "10.1080/13811118.2015.1034604",
                    "id": "boudreaux-2015",
                    "pmid": "25826715",
                    "source": "Arch Suicide Res. 2015;19(2):151-160",
                    "title": "The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"
                  },
                  "components": [
                    {
                      "factor": "depressed_mood",
                      "met": false
                    },
                    {
                      "factor": "ideation_2_weeks",
                      "met": false
                    },
                    {
                      "factor": "lifetime_attempt",
                      "met": false
                    },
                    {
                      "factor": "attempt_within_6_months",
                      "met": false
                    }
                  ],
                  "depressed_mood": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "pss_3",
                  "formula_expression": "screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS",
                  "ideation_2_weeks": false,
                  "lifetime_attempt": false,
                  "screen_positive": false
                },
                {
                  "attempt_within_6_months": false,
                  "citation": {
                    "authors": "Boudreaux ED, Jaques ML, Brady KM, Matson A, Allen MH",
                    "doi": "10.1080/13811118.2015.1034604",
                    "id": "boudreaux-2015",
                    "pmid": "25826715",
                    "source": "Arch Suicide Res. 2015;19(2):151-160",
                    "title": "The Patient Safety Screener: Validation of a Brief Suicide Risk Screener for Emergency Department Settings"
                  },
                  "components": [
                    {
                      "factor": "depressed_mood",
                      "met": false
                    },
                    {
                      "factor": "ideation_2_weeks",
                      "met": false
                    },
                    {
                      "factor": "lifetime_attempt",
                      "met": false
                    },
                    {
                      "factor": "attempt_within_6_months",
                      "met": false
                    }
                  ],
                  "depressed_mood": false,
                  "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
                  "formula": "pss_3",
                  "formula_expression": "screen_positive iff ideation_2_weeks OR (lifetime_attempt AND attempt_within_6_months); depressed_mood (past 2 weeks down/depressed/hopeless) is a segue item and is not factored into screening results; this positive rule is the same-group ED-SAFE definition used with PSS-3 (Boudreaux 2016 Am J Prev Med: ideation past 2 weeks or attempt within 6 months); if lifetime_attempt is false then attempt_within_6_months must be false; four caller-assigned bools; magent does not interview the patient; not a diagnosis; not C-SSRS",
                  "ideation_2_weeks": false,
                  "lifetime_attempt": false,
                  "screen_positive": false
                }
              ],
              "path": "/api/calc/pss_3"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "properties": {
                          "attempt_within_6_months": {
                            "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.",
                            "type": "boolean"
                          },
                          "depressed_mood": {
                            "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.",
                            "type": "boolean"
                          },
                          "ideation_2_weeks": {
                            "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.",
                            "type": "boolean"
                          },
                          "lifetime_attempt": {
                            "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.",
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "depressed_mood",
                          "ideation_2_weeks",
                          "lifetime_attempt",
                          "attempt_within_6_months"
                        ],
                        "type": "object"
                      },
                      "maxItems": 25,
                      "minItems": 1,
                      "type": "array"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "type": "object"
                },
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "const": "POST",
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.magentlab.com",
    "manifest_name": "api.magentlab.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}