# Overwing Guardrail API

> Overwing Guardrail API is a paid API for AI agents from overwing.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Checks text for toxicity, PII, confidential leaks, self-harm, and sexual content, returning a verdict and recommended action (block/redact/review/allow) in ~150ms

## Facts

- Endpoint: GET https://overwing.ai/api/x402/execute?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/overwing-guardrail-api-f9a98322
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4oGh8GX26F7eYHRU9Xda4

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 overwing-guardrail-api-f9a98322
```

Example prompt: Before sending this customer support reply, run it through Overwing with the outbound-message rule set — the recipient is a customer on our chat channel and we don't own their contact info — and block it if it fails: 'Hi Jane, your order #12345 ships to 123 Main St, Springfield on Friday.'

## When to prefer this

Choose Overwing when you need sub-200ms content safety decisions with a single unified verdict and actionable recommendation (block/redact/review/allow) — especially for outbound message pipelines where you need both standard toxicity/PII checks AND confidential-data-leak detection in one call. Prefer it over heavier moderation pipelines when you need no account setup, pay-per-call pricing at $0.002 USDC, and context-aware judgment (recipient, channel, data ownership) baked into the ruling.

## Known failure modes

- Text exceeds 100,000 character limit — request rejected
- Invalid rule_set value — must be 'content-safety' or 'outbound-message'
- Context or metadata object exceeds 8 KB limit — request rejected
- Payment of $0.002 USDC not provided or invalid — request blocked
- Malformed input body missing required 'input' field — 400 error
- Network latency spike causing response beyond ~150ms SLA

## How this service works

Overwing guardrail: check text before you send, post, or act on it. Content moderation, PII detection, confidential leak detection, toxicity, self-harm and severity in ~150 ms. Returns a verdict plus one recommended_action (block / redact / review / allow) with calibrated confidence. Pass context (recipient, channel, owns_contact_info) with the outbound-message set. $0.002 USDC, no account.

## Output

Returns a JSON object with a top-level verdict (pass/fail/review), an overall confidence score (0–1), a recommended_action (block/redact/review/allow), a unique evaluation ID, latency in milliseconds, and an array of per-rule results each containing the rule name, type, verdict, action, answer, confidence, and probability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 100000,
   "description": "The text to check: a draft message, a model's output, an incoming message, a post"
  },
  "context": {
   "type": "object",
   "description": "Facts the rules may use: recipient, channel (email, chat, public post), owns_contact_info (true when the recipient already owns the personal data in the text), sender, purpose. Max 8 KB"
  },
  "metadata": {
   "type": "object",
   "description": "Opaque data stored with the verdict (max 8 KB). The input text and context are not stored"
  },
  "rule_set": {
   "enum": [
    "content-safety",
    "outbound-message"
   ],
   "type": "string",
   "default": "content-safety",
   "description": "content-safety: toxicity, personal data, self-harm, sexual content, severity. outbound-message: the same plus unauthorized personal data and confidential leaks, judged against context"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "eval_aBcDeFgHiJkLmNoP",
  "paid": {
   "network": "base",
   "protocol": "x402",
   "price_usd": 0.002
  },
  "results": [
   {
    "rule": "unauthorized_pii",
    "type": "noul",
    "action": "redact",
    "answer": false,
    "verdict": "pass",
    "confidence": 0.88,
    "probability": 0.94
   },
   {
    "rule": "confidential_leak",
    "type": "noul",
    "action": "block",
    "answer": false,
    "verdict": "pass",
    "confidence": 0.94,
    "probability": 0.97
   },
   {
    "rule": "toxicity",
    "type": "choice",
    "action": "block",
    "answer": "safe",
    "verdict": "pass",
    "confidence": 1,
    "probability": 1
   }
  ],
  "verdict": "pass",
  "confidence": 0.88,
  "latency_ms": 173,
  "aggregate_score": 1,
  "recommended_action": "allow"
 }
}
```

## More

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