{"uid":"cap_oOk3uPfnXi3i_nOfFhrYa","slug":"rag-gedx402-com-ai-search-index-85b14d18","name":"rag.gedx402.com AI Search Index","description":"Run Cloudflare AI Search inference on Cloudflare Workers AI (cloudflare-ai-search) via POST JSON. Pay per request with USDC on Base, Polygon, Arbitrum, World, or Solana (x402 v2); see x-payment-info for price bounds and accepted networks.","url":"https://rag.gedx402.com/v1/aisearch/:id/index","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"poll":{"type":"boolean"},"text":{"type":"string"},"filename":{"type":"string"},"file_base64":{"type":"string"},"session_token":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_111lSBOImPkdcnzaTPCXl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Indexes a document (URL, plain text, or base64 file) into an AI search instance for later retrieval","exampleAgentPrompt":"Index this article into my search instance 'ged-abc123' — fetch it from https://example.com/article.html and wait until indexing is complete before responding.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the indexing status ('queued' or completed), a unique item_id for the indexed document, and the instance_id confirming which search index received the content.","failureModes":["URL unreachable or returns non-200 — indexing fails with error status","Document exceeds 4 MB limit — request rejected","Invalid or missing instance ID in path — 404 or error","Base64 payload malformed — decoding error","Payment not confirmed on-chain — 402 Payment Required response","Poll timeout if indexing takes too long"],"whenToPreferThis":"Choose this endpoint when you need to add new content to an existing AI search index hosted on rag.gedx402.com — specifically when you want to ingest a public URL, raw text, or a file (up to 4 MB) without managing API keys, paying per-call in USDC via x402 on Base, Polygon, Arbitrum, World, or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:30:39.551Z","isFirstParty":false}