x402
utility

Compute success and failure rates from success and total counts — call when computing success and failure rates from counts. Use for SRE/ops math agents buy from broad utility catalogs: SLA, error budget, success rate, and health scores with zero upstream cost. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.

post/api/v1/x402/success-rate

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/success-rate
  • Auth: none declared

Request body

successnumber required

Count of successful outcomes.

totalnumber required

Total attempts or events.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
successnumber
totalnumber
success_rate_percentnumber
failure_rate_percentnumber

Changes

No recorded changes to this operation across all 1 revision of this API.