# RelayStation PPE Detection

> RelayStation PPE Detection is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Detects personal protective equipment (face covers, hand covers, head covers) worn by people in an image, returning labeled findings with confidence scores.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/vision/detect-ppe
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-ppe-detection-1029b818
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_txNE6_wrLbx6y0URzjjXl

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 relaystation-ppe-detection-1029b818 -d '<json body>'
```

Example prompt: Check this construction site photo for PPE compliance — tell me if any workers are missing hard hats, face covers, or hand protection, and give me confidence scores for each detection.

## When to prefer this

Choose this endpoint when you need fast, per-image PPE compliance checks via API without managing your own computer vision infrastructure. Ideal for automated safety audits, construction site monitoring pipelines, or any workflow that needs to programmatically verify protective equipment at $0.005/image. Prefer over general object detection endpoints when the specific need is PPE/safety equipment compliance rather than broad scene understanding.

## Known failure modes

- Image too small or low resolution for reliable detection — low confidence scores returned
- No persons detected in image — empty results with no PPE findings
- Unsupported image format — request rejected with format error
- Image URL inaccessible or returns non-image content — fetch error
- Partial occlusion of PPE items may cause false negatives — confidence scores reflect uncertainty
- Payment insufficient or x402 authentication failure — 402 response

## How this service works

$0.005/image. Detect protective equipment — face, hand, head covers — on people in an image. Site-safety audits by API. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns a structured list of detected persons in the image, each with identified PPE items (face cover, hand cover, head cover), confidence scores for each detection, and bounding box coordinates. Indicates whether each person appears compliant with standard PPE requirements.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "file": {
       "type": "object",
       "description": "cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."
      },
      "requiredEquipment": {
       "type": "array",
       "items": {
        "type": "string",
        "enum": [
         "FACE_COVER",
         "HAND_COVER",
         "HEAD_COVER"
        ]
       }
      },
      "minConfidence": {
       "type": "number",
       "minimum": 0,
       "maximum": 100
      }
     }
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-ppe-detection-1029b818/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
