{"uid":"cap_Sb8kyBH21VBiWeNVabzL8","slug":"gedx402-rag-ai-search-session-creator-aba5552e","name":"GEDX402 RAG AI Search Session Creator","description":"Managed RAG session — one x402 POST creates managed RAG instance plus prepaid index/query credits. $0.620 USDC per request.","url":"https://rag.gedx402.com/v1/aisearch/sessions","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"id":{"type":"string"},"query":{"type":"string"},"top_k":{"type":"integer"},"budget":{"type":"object","additionalProperties":true},"initial_index":{"type":"object","additionalProperties":true},"retrieval_type":{"enum":["hybrid","vector","keyword"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.62","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.62/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.62","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.62","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2WZFrgxDtj2IbZec7AGOw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.62","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a new RAG (Retrieval-Augmented Generation) AI search session with optional initial document indexing and hybrid search, paid via USDC on-chain with no API key required.","exampleAgentPrompt":"Start a new AI search session, index https://example.com/my-report.pdf, and run my first hybrid search query 'key findings on climate risk' returning the top 10 chunks — prepay for up to 20 queries and 5 index operations using USDC.","exampleUseCases":null,"resultDescription":"Returns a JSON object with session_id, instance_id, session_token, index_path and query_path (for subsequent indexing and querying), plus a credits object showing queries_remaining and index_ops_remaining from the prepaid budget.","failureModes":["Payment not received or insufficient USDC — 402 Payment Required","Invalid retrieval_type enum value — 400 Bad Request","top_k out of range (must be 1-50) — 400 validation error","budget values exceed max (max_queries>64 or max_index_ops>32) — 400 validation error","URL provided in initial_index is unreachable or not public — indexing fails","Session ID conflict if a provided instance ID already exists"],"whenToPreferThis":"Choose this endpoint when you need to create a fresh RAG search session over custom documents or URLs, want to avoid API key management by paying per-call with USDC on Base/Polygon/Arbitrum/World/Solana, and need hybrid, vector, or keyword retrieval modes. Ideal for one-off document search tasks or agent workflows where you want to pay micropayments on-chain rather than maintain a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:31:12.131Z","isFirstParty":false}