{
  "format": "delx/intent-card/v1",
  "id": "rag-safe-ingest-api",
  "intent": "RAG Safe Web Ingest & Guard API for an agent workflow",
  "title": "RAG Safe Web Ingest & Guard API API for agents",
  "description": "Extract and ingest a public webpage safely for RAG pipelines in one $0.015 USDC x402 call on Base or Solana: extracts clean page text, redacts detected PII, and screens for prompt-injection attacks before withholding unsafe text. Use for grounding LLM retrieval on untrusted URLs; heuristic screening only (callers must verify), single public URL, no API key or subscription.",
  "keywords": [
    "RAG Safe Web Ingest & Guard API API",
    "RAG Safe Web Ingest & Guard API for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-11-26",
  "canonical_url": "https://commerce.delx.ai/intents/rag-safe-ingest-api",
  "machine_url": "https://commerce.delx.ai/intents/rag-safe-ingest-api.json",
  "recommendation": {
    "tool_name": "rag_safe_ingest",
    "service_name": "RAG Safe Web Ingest & Guard API",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/rag-safe-ingest",
    "price_usdc": "0.015",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048,
          "pattern": "^https?://"
        },
        "timeout": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12,
          "default": 8
        }
      },
      "required": [
        "url"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "url": "https://example.com/"
    },
    "example_output": {
      "tool_name": "rag_safe_ingest",
      "result": {
        "schema": "delx/rag-safe-ingest/v1",
        "status": "redacted_excerpt",
        "text": "Contact [REDACTED_EMAIL] for the public minutes.",
        "redacted_count": 1,
        "screening": {
          "risk": "low",
          "score": 0,
          "signals": [],
          "advisory": "Heuristic signal only."
        },
        "receipt": {
          "format": "delx/composition-delivery/v1",
          "legs": [
            "util_page_extract",
            "util_pii_redact",
            "util_prompt_injection_scan"
          ],
          "result_sha256": "e6d0ad4640d121b8fc7403b92382d02a18b351005fb65fe9e74aee8158dfdae2"
        }
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/rag-safe-ingest -m POST -H 'x-delx-source: intent-card-rag-safe-ingest-api' --max-amount 0.015 -b '{\"url\":\"https://example.com/\"}'",
      "max_amount_usdc": "0.015"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-rag-safe-ingest-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/rag-safe-ingest"
  }
}
