# Delx Commerce SLO Compliance Checker

> Delx Commerce SLO Compliance Checker is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Computes whether a service met its Service Level Objective (SLO) by comparing good vs total events against a target availability percentage

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/slo-compliance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-slo-compliance-checker-f397c176
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T4mGYqo7yTFnyvYHBbWb5

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-slo-compliance-checker-f397c176 -d '<json body>'
```

Example prompt: Check if we met our 99.9% SLO this month — we had 99980 good events out of 100000 total events.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call SLO compliance check without standing up your own reliability calculator. Ideal for AI agents that periodically audit service health, gate deployments, or generate compliance reports, and want a verifiable, deterministic result paid for per-invocation in USDC with no subscription required.

## Known failure modes

- Missing required fields (good_events or total_events) results in a 4xx validation error
- good_events exceeding total_events is an invalid input and may return an error or unexpected result
- Non-integer values for event counts may cause schema validation failure
- Payment not provided or insufficient USDC causes a 402 Payment Required response
- total_events of 0 may produce a divide-by-zero or undefined result

## 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 compliant boolean (pass/fail), actual_percent achieved, number of bad_events derived, good_events and total_events echoed back, gap_percentage_points showing how far above or below the target you are, and the target_percent used for evaluation. Schema is labeled delx/slo-compliance/v1.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "good_events": {
   "type": "integer",
   "minimum": 0
  },
  "total_events": {
   "type": "integer",
   "minimum": 0
  },
  "target_percent": {
   "type": "number",
   "default": 99.9,
   "maximum": 100,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/slo-compliance/v1",
  "compliant": true,
  "bad_events": 20,
  "good_events": 99980,
  "total_events": 100000,
  "actual_percent": 99.98,
  "target_percent": 99.9,
  "gap_percentage_points": 0.08
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-slo-compliance-checker-f397c176/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)
