81trust / 100

Slo Compliance

by Delx SLO Compliance in Security & trust

x402 APIPassing, checked 2 h ago

Measure achieved reliability against an SLO target from good and total events. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base or Solana. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.

POST https://api.delx.ai/api/v1/x402/slo-compliance

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
10 ms typical, 10 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.delx.ai/api/v1/x402/slo-compliance" \
  -H "content-type: application/json" \
  -d '{"good_events":99980,"total_events":100000}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fslo-compliance
const res = await pay("https://api.delx.ai/api/v1/x402/slo-compliance", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"good_events":99980,"total_events":100000}),
});
console.log(await res.json());

Example input

{
  "good_events": 99980,
  "total_events": 100000
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed4025 ms$0.002
5 h agoPassed40210 ms$0.002
10 h agoPassed40211 ms$0.002