{
  "format": "delx/intent-card/v1",
  "id": "retry-safe-classify-api",
  "intent": "Retry Safe Classify for an agent workflow",
  "title": "Retry Safe Classify API for agents",
  "description": "Classify whether a failed HTTP-style call is safe to auto-retry — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already converted externally (random, hash, URL, FX families).",
  "keywords": [
    "Retry Safe Classify API",
    "Retry Safe Classify for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/retry-safe-classify-api",
  "machine_url": "https://commerce.delx.ai/intents/retry-safe-classify-api.json",
  "recommendation": {
    "tool_name": "util_retry_safe_classify",
    "service_name": "Delx Retry Safe Classify",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/retry-safe-classify",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "method": {
          "description": "Input field: method.",
          "type": "string"
        },
        "status_code": {
          "description": "Input field: status code.",
          "type": "integer"
        },
        "idempotency_key_present": {
          "description": "Input field: idempotency key present.",
          "type": "boolean"
        },
        "body_mutates": {
          "description": "Input field: body mutates.",
          "type": "boolean"
        }
      },
      "required": [
        "method"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "method": "POST",
      "status_code": 503,
      "idempotency_key_present": true,
      "body_mutates": true
    },
    "example_output": {
      "schema": "delx/util-retry-safe-classify/v1",
      "method": "POST",
      "status_code": 503,
      "retry_safe": true,
      "reason": "transient_status_with_idempotency_key",
      "advice": "retry_with_backoff"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/retry-safe-classify -m POST -H 'x-delx-source: intent-card-retry-safe-classify-api' --max-amount 0.001 -b '{\"method\":\"POST\",\"status_code\":503,\"idempotency_key_present\":true,\"body_mutates\":true}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-retry-safe-classify-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/retry-safe-classify"
  }
}
