# Delx Commerce Ops Health Score

> Delx Commerce Ops Health Score is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Computes a composite operational health score and band from latency, saturation, and success rate metrics.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/ops-health-score?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-ops-health-score-74e21d81
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sg1QXN45q8xvFm8lty18t

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 delx-commerce-ops-health-score-74e21d81 -d '<json body>'
```

Example prompt: Compute an ops health score for my service — latency score is 90, saturation is 20%, and success rate is 99%, and tell me what health band it falls into.

## When to prefer this

Use this endpoint when you need a single, normalized health score and categorical band from raw latency, saturation, and success rate metrics — especially in agent workflows that need a quick pass/fail or severity classification without building custom scoring logic. Prefer this over rolling your own weighted formula when you want a standardized, verifiable result at sub-cent cost with no account setup.

## Known failure modes

- Missing or out-of-range input values (e.g. values outside 0–100) may return a validation error
- Invalid JSON body returns a 400 Bad Request
- Payment not provided or insufficient USDC returns a 402 Payment Required
- Service unavailability returns a 5xx error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with a numeric composite health score (0–100), a categorical health band (e.g. 'healthy', 'degraded'), the schema identifier, and the echoed input values (latency_score, saturation_percent, success_rate_percent).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latency_score": {
   "type": "number",
   "description": "Latency health score 0–100 (higher is better)."
  },
  "saturation_percent": {
   "type": "number",
   "description": "Saturation 0–100 (higher is worse)."
  },
  "success_rate_percent": {
   "type": "number",
   "description": "Success rate 0–100 for the health composite."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "band": "healthy",
  "score": 92.5,
  "schema": "delx/util-ops-health-score/v1",
  "latency_score": 90,
  "saturation_percent": 20,
  "success_rate_percent": 99
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-ops-health-score-74e21d81/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
