# Webhook Reliability Assessment API

> Webhook Reliability Assessment API is a paid API for AI agents from x402-safe-upgrade-api.onrender.com, paid per call via x402, $0.02/call, status down (last checked 2026-10-13).

Analyzes a batch of webhook delivery attempts (status codes and latencies) to compute a reliability summary including success rate.

## Facts

- Endpoint: POST https://x402-safe-upgrade-api.onrender.com/v1/webhook-reliability-assessment?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/webhook-reliability-assessment-api-39c99318
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kjPSib7F7l1YbQuuX_qNt

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 webhook-reliability-assessment-api-39c99318 -d '<json body>'
```

Example prompt: I've got 10 recent webhook delivery attempts — 5 returned 200, 3 returned 500, and 2 returned 408, with latencies ranging from 120ms to 3400ms. Can you assess the reliability of this webhook endpoint and tell me the overall success rate?

## When to prefer this

Use this endpoint when you need a quick, evidence-backed reliability score computed from raw webhook delivery logs (status codes and optional latencies). Prefer it over manual log analysis when you want a structured success rate summary for up to 250 delivery attempts in a single call.

## Known failure modes

- Empty or missing deliveries array — returns validation error
- Deliveries array exceeds 250 items — rejected due to maxItems constraint
- Missing required statusCode field in a delivery object — schema validation failure
- Malformed request body — 400 bad request
- Service unavailable on render.com cold start — potential timeout or 503

## How this service works

Evidence-backed npm package upgrade decisions for coding agents.

## Output

Returns a JSON object with a summary field containing a successRate value (e.g. 0.5) representing the proportion of successful webhook deliveries from the submitted batch.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "deliveries": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "statusCode"
    ],
    "properties": {
     "latencyMs": {
      "type": "number"
     },
     "statusCode": {
      "type": "integer"
     }
    },
    "additionalProperties": false
   },
   "maxItems": 250,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": {
   "successRate": 0.5
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/webhook-reliability-assessment-api-39c99318/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-safe-upgrade-api.onrender.com](https://www.zero.xyz/host/x402-safe-upgrade-api.onrender.com/llms.txt)
