# Salivary Gland Cancer PORT Survival Cox Predictor (Jacobs 2022)

> Salivary Gland Cancer PORT Survival Cox Predictor (Jacobs 2022) 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 Jacobs 2022 Table 3 Cox linear predictor (ln HR) for overall survival after resected major salivary gland cancer, comparing postoperative radiotherapy (PORT) versus observation.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/sg_port
- 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/salivary-gland-cancer-port-survival-cox-predictor-jacobs-2022-94c94ce9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ws5qosv67OGv2O5QWmBwC

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 salivary-gland-cancer-port-survival-cox-predictor-jacobs-2022-94c94ce9
```

Example prompt: Use the Jacobs 2022 salivary gland cancer PORT model for a 67-year-old male with a Charlson-Deyo score of 2, parotid primary, pT3 stage, high grade, positive surgical margins, nodal positivity ratio of 0.3 (band 0.1–0.5), and postoperative radiotherapy given — give me the Cox linear predictor in ln(HR).

## When to prefer this

Choose this endpoint when you need to apply the Jacobs 2022 (Table 3) Cox proportional hazards model specifically validated for resected major salivary gland cancer (parotid, submandibular, sublingual) with or without PORT. It is the right choice when you have all required clinical inputs pre-assigned (the endpoint does not compute Charlson-Deyo, assign stage, grade, or count nodes) and need a ln(HR) survival risk score for comparative or prognostic purposes. Do not use it if you need a concrete percentage survival estimate (requires external S0), a radiation treatment decision, or a model for minor salivary glands or unresected disease.

## Known failure modes

- Missing required query parameter (age, sex, charlson_deyo, gland, t_stage, grade, margin, nodal_positivity_ratio, port) returns 400 or validation error
- Age outside integer range 18–120 returns validation error
- Invalid enum value for sex, gland, grade, margin, or t_stage returns 400
- Payment not provided or insufficient USDC balance triggers 402 Payment Required
- nodal_positivity_ratio value outside expected band mapping may return an error or default behavior
- Network timeout or server error returns 5xx

## How this service works

Jacobs 2022 Table 3 Cox linear predictor for overall survival after resected major salivary gland cancer with versus without postoperative radiotherapy. Age per 10 years by PORT, male, Charlson-Deyo per point, gland, PORT by T stage, nodal-positivity ratio band, grade step, and positive margin as ln(HR). Not a 2-/5-/10-year OS percent (no printed S0). Not a radiation order. magent does not compute Charlson-Deyo or count nodes.

## Output

Returns the Jacobs 2022 Table 3 Cox linear predictor expressed as a natural log hazard ratio (ln HR), reflecting cumulative overall survival risk after resected major salivary gland cancer. The value incorporates age-by-PORT interaction, sex, Charlson-Deyo comorbidity, gland site, T-stage-by-PORT interaction, nodal positivity ratio band, grade step, and margin status. This is not a percentage survival estimate (no S0 is applied) and is not a radiation treatment recommendation.

## 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": [
      "age",
      "sex",
      "charlson_deyo",
      "gland",
      "t_stage",
      "grade",
      "margin",
      "nodal_positivity_ratio",
      "port"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age at diagnosis in years (integer 18-120). Jacobs 2022 Table 3: per 10 years, HR 1.52 without PORT and HR 1.37 with PORT. magent does not assign age."
      },
      "sex": {
       "enum": [
        "female",
        "male"
       ],
       "type": "string",
       "description": "Caller-assigned sex. Table 3: male versus female HR 1.28. magent does not assign sex."
      },
      "port": {
       "type": "boolean",
       "description": "true if postoperative radiotherapy was given, false if not. Selects the Table 3 age HR and the T-stage-specific PORT HR. Not a radiation order."
      },
      "gland": {
       "enum": [
        "parotid",
        "submandibular",
        "sublingual"
       ],
       "type": "string",
       "description": "Involved major salivary gland. Table 3 versus parotid: submandibular HR 1.32; sublingual HR 0.72. magent does not assign the primary site."
      },
      "grade": {
       "enum": [
        "low",
        "intermediate",
        "high"
       ],
       "type": "string",
       "description": "Caller-assigned grade (low, intermediate, or high). Table 3 prints a single HR 1.34; magent applies ln(1.34) per step from low. magent does not assign grade."
      },
      "margin": {
       "enum": [
        "negative",
        "positive"
       ],
       "type": "string",
       "description": "Surgical margin. Table 3: positive versus negative HR 1.26. magent does not read the pathology report."
      },
      "t_stage": {
       "enum": [
        "t1",
        "t2",
        "t3",
        "t4"
       ],
       "type": "string",
       "description": "AJCC pathologic T stage (t1, t2, t3, or t4) as recorded. Table 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/salivary-gland-cancer-port-survival-cox-predictor-jacobs-2022-94c94ce9/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)
