# DELTA Witness — Guarded Action Pilot

> DELTA Witness — Guarded Action Pilot is a paid API for AI agents from delta-witness-api.ruphussten.workers.dev, paid per call via x402, $10/call, status unknown (last checked 2026-09-15).

Fetches and cryptographically captures up to 3 public web pages, then runs preflight content checks (contains/excludes/hash assertions) before an autonomous agent takes action based on those sources.

## Facts

- Endpoint: POST https://delta-witness-api.ruphussten.workers.dev/v1/guarded-action-pilot
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delta-witness-guarded-action-pilot-e7833b0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rJroQ5mh63efYf0nANZ8X

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 delta-witness-guarded-action-pilot-e7833b0d -d '<json body>'
```

Example prompt: Before you post that trade, witness the page at https://example.com/price-feed and verify it contains the text '42,000' and doesn't contain 'maintenance mode' — give me a tamper-proof proof bundle I can reference later.

## When to prefer this

Choose this endpoint when an autonomous agent needs tamper-evident, machine-verifiable proof that a public webpage contained (or excluded) specific content at a precise moment before taking an irreversible action. It is especially valuable for agentic workflows where audit trails are required, where content freshness must be guaranteed, or where downstream decisions depend on verifiable web source state. Prefer this over simple HTTP fetches when accountability, reproducibility, or legal/compliance traceability of web sources matters.

## Known failure modes

- Preflight assertion fails (contains/excludes/hash mismatch) — request is rejected before proof is issued
- Target URL is not reachable or returns non-200 status — capture fails
- URL does not match ^https:// pattern — schema validation error
- More than 3 URLs submitted — rejected by minItems/maxItems constraint
- url_index out of range (>2) — preflight schema error
- Payment of $10 USDC not provided — 402 Payment Required response
- SHA-256 hash format invalid — schema validation error

## How this service works

Paid, machine-verifiable capture and preflight checks for public web sources.

## Output

A JSON object containing an 'ok' boolean, an array of proof objects (each with proof_id, bundle_root SHA-256, observed_at timestamp, manifest_url, and public_proof_url), the product name, economics breakdown (variable cost and contribution margin), and total price in USD. The proof artifacts are retrievable via manifest_url for post-hoc verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "urls": {
   "type": "array",
   "items": {
    "type": "string",
    "pattern": "^https://",
    "description": "Public HTTPS webpage to witness."
   },
   "maxItems": 3,
   "minItems": 1
  },
  "preflight": {
   "type": "object",
   "required": [
    "url_index",
    "expected"
   ],
   "properties": {
    "expected": {
     "type": "object",
     "properties": {
      "contains": {
       "type": "array",
       "items": {
        "type": "string",
        "maxLength": 200
       },
       "maxItems": 10
      },
      "excludes": {
       "type": "array",
       "items": {
        "type": "string",
        "maxLength": 200
       },
       "maxItems": 10
      },
      "html_sha256": {
       "type": "string",
       "pattern": "^sha256:[0-9a-f]{64}$"
      },
      "markdown_sha256": {
       "type": "string",
       "pattern": "^sha256:[0-9a-f]{64}$"
      }
     },
     "additionalProperties": false
    },
    "url_index": {
     "type": "integer",
     "maximum": 2,
     "minimum": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "proofs": [
   {
    "url": "https://example.com/",
    "proof_id": "7d9d12f7-8f91-5f41-9f0c-5ef257d9ea5d",
    "bundle_root": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
    "observed_at": "2026-09-07T00:00:00.000Z",
    "manifest_url": "https://delta-witness-api.ruphussten.workers.dev/v1/proofs/7d9d12f7-8f91-5f41-9f0c-5ef257d9ea5d",
    "public_proof_url": "https://delta-witness-api.ruphussten.workers.dev/p/7d9d12f7-8f91-5f41-9f0c-5ef257d9ea5d",
    "allocated_price_usd": 10
   }
  ],
  "product": "guarded_action_pilot",
  "economics": {
   "variable_cost_usd": 0.004,
   "contribution_margin_usd": 9.996
  },
  "price_usd": 10
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delta-witness-guarded-action-pilot-e7833b0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from delta-witness-api.ruphussten.workers.dev](https://www.zero.xyz/host/delta-witness-api.ruphussten.workers.dev/llms.txt)
