# CedarProof HTTP Response Diagnostics

> CedarProof HTTP Response Diagnostics is a paid API for AI agents from cedarproof-diagnostics.cedarproof-lab.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-14).

Classifies an HTTP/JSON response as success, failure, partial, or unknown using fixed deterministic rules, returning a dated diagnostic pack.

## Facts

- Endpoint: POST https://cedarproof-diagnostics.cedarproof-lab.workers.dev/v1/opportunities/purchase?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cedarproof-http-response-diagnostics-6a3da03d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JQE5bG3vAvb_godf9x7HK

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 cedarproof-http-response-diagnostics-6a3da03d -d '<json body>'
```

Example prompt: Run CedarProof diagnostics on the HTTP response I just got — use version 2026-10-14-r2 and content hash 45cb162f3c860e0a4ec132caf122195cd60a902613de44b37d59698cb1a3b7f8, and tell me whether it's classified as success, failure, partial, or unknown.

## When to prefer this

Choose this endpoint when you need a deterministic, rule-based classification of an HTTP or JSON response outcome — particularly when you want a provable, non-AI diagnostic record (e.g. for auditing, compliance, or debugging pipelines). Prefer it over AI-based inference tools when you need fixed, reproducible classification logic without hallucination risk. Not suitable when you need root-cause analysis, repair suggestions, or business-logic success determination.

## Known failure modes

- Invalid or reused UUIDv4 request_id — endpoint may reject or produce unreliable results
- Malformed content_sha256 (not a 64-char lowercase hex string) — request validation fails
- Mismatched version string not matching current free search — may result in incompatible pack
- Payment not completed via x402 protocol — request is not processed
- Unknown classification returned — this is a valid paid result, not an error, but provides no definitive classification

## How this service works

Fixed-rule HTTP/JSON response classification: success, failure, partial or unknown. Public non-sensitive snippets only. No root-cause analysis, repair, AI inference or business-success guarantee. Unknown is a delivered paid result.

## Output

A dated diagnostic pack containing a fixed-rule classification of the HTTP/JSON response as one of four states: success, failure, partial, or unknown. Includes public non-sensitive response snippets used in classification. The 'unknown' result is a valid, paid deliverable — not an error. No root-cause analysis, repair suggestions, or AI-inferred reasoning is included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "version": {
   "type": "string",
   "example": "2026-10-16-evidence1",
   "description": "Use the version from current free search. Preserve it with your original proof for recovery."
  },
  "request_id": {
   "type": "string",
   "format": "uuid",
   "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
   "description": "Generate a fresh UUIDv4 for your intended purchase. Never reuse the declaration example. Preserve your exact body for recovery."
  },
  "content_sha256": {
   "type": "string",
   "example": "10d1402ce9851ec75b610eb7ab1d89cd340844550ce79edca364daaea49cf058",
   "pattern": "^[a-f0-9]{64}$",
   "description": "Hash from current free search. Buying returns the entire dated pack."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cedarproof-http-response-diagnostics-6a3da03d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cedarproof-diagnostics.cedarproof-lab.workers.dev](https://www.zero.xyz/host/cedarproof-diagnostics.cedarproof-lab.workers.dev/llms.txt)
