{
  "format": "delx/intent-card/v1",
  "id": "slo-compliance-api",
  "intent": "SLO Compliance for an agent workflow",
  "title": "SLO Compliance API for agents",
  "description": "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. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.",
  "keywords": [
    "SLO Compliance API",
    "SLO Compliance for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/slo-compliance-api",
  "machine_url": "https://commerce.delx.ai/intents/slo-compliance-api.json",
  "recommendation": {
    "tool_name": "util_slo_compliance",
    "service_name": "Delx SLO Compliance",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/slo-compliance",
    "price_usdc": "0.002",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "good_events": {
          "type": "integer",
          "minimum": 0
        },
        "total_events": {
          "type": "integer",
          "minimum": 0
        },
        "target_percent": {
          "type": "number",
          "minimum": 0,
          "maximum": 100,
          "default": 99.9
        }
      },
      "required": [
        "good_events",
        "total_events"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "good_events": 99980,
      "total_events": 100000
    },
    "example_output": {
      "schema": "delx/slo-compliance/v1",
      "target_percent": 99.9,
      "actual_percent": 99.98,
      "compliant": true,
      "good_events": 99980,
      "total_events": 100000,
      "bad_events": 20,
      "gap_percentage_points": 0.08
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/slo-compliance -m POST -H 'x-delx-source: intent-card-slo-compliance-api' --max-amount 0.002 -b '{\"good_events\":99980,\"total_events\":100000}'",
      "max_amount_usdc": "0.002"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-slo-compliance-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/slo-compliance"
  }
}
