{"version":1,"name":"GEDX402 AI Search","serviceName":"GEDX402 AI Search","tags":["rag","ai-search","hybrid-search","mcp","agents","usdc"],"iconUrl":"https://rag.gedx402.com/favicon.svg","url":"https://rag.gedx402.com","origin":"https://rag.gedx402.com","role":"shard","shard":"GEDX402 AI Search","hub":"https://gedx402.com","openapi":"https://rag.gedx402.com/openapi.json","llms_txt":"https://rag.gedx402.com/llms.txt","agents_manifest":"https://rag.gedx402.com/.well-known/agents.json","network":"base","payments":{"asset":"USDC","facilitator":"coinbase-cdp","networks":[{"id":"base","label":"Base","caip":"eip155:8453","asset":"USDC","family":"evm"}],"primary_network":"base"},"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","resources":["https://rag.gedx402.com/v1/aisearch/sessions","https://rag.gedx402.com/v1/aisearch/outcome/answer","https://rag.gedx402.com/v1/aisearch/instances","https://rag.gedx402.com/v1/aisearch/:id/index","https://rag.gedx402.com/v1/aisearch/:id/query","https://rag.gedx402.com/v1/aisearch/:id/mcp"],"outputs":[{"name":"gedx402_aisearch_outcome_answer","description":"Cited RAG answer on rag.gedx402.com: one x402 payment indexes URL(s) (max 5, ≤65536 bytes each), runs hybrid retrieval, synthesizes a cited answer, and mints a prepaid session. POST { url or urls[], question, budget?, top_k?, poll? }; budget.max_queries defaults to 5 (cap 10; one for the answer, rest follow up with session_token). Expires after 7 days idle. Returns session_token, query_path, credits. x402 settlement USDC per request (see unpaid 402 or GET /v1/models).","url":"https://rag.gedx402.com/v1/aisearch/outcome/answer","method":"POST","payment":"x402","price_usd":0.62629,"price_display":"$0.62629","input_schema":{"type":"object","properties":{"url":{"type":"string","description":"Single public URL to fetch, index, and answer from."},"urls":{"type":"array","description":"One or more public URLs to index (max 5). Alternative to url.","items":{"type":"string"}},"question":{"type":"string","description":"Natural-language question to answer from indexed content."},"top_k":{"type":"integer","description":"Max retrieval chunks for synthesis (1-20, default 8)."},"retrieval_type":{"type":"string","enum":["hybrid","vector","keyword"]},"poll":{"type":"boolean","description":"Wait for each URL index to complete before query (default false)."},"rewrite_query":{"type":"boolean"},"rerank":{"type":"boolean"},"budget":{"type":"object","description":"Prepaid index/query credits included in the single x402 payment. Default max_queries: 5 (one consumed for the cited answer; remainder for follow-ups on query_path). Caps: 5 urls/index ops, 10 queries.","properties":{"max_index_ops":{"type":"integer","minimum":1,"maximum":5,"description":"Total prepaid index ops (defaults to url count; max 5)."},"max_queries":{"type":"integer","minimum":1,"maximum":10}}}},"required":["question"]},"example_request":{"url":"https://example.com/docs","question":"How do I configure managed RAG?","budget":{"max_queries":5}}},{"name":"gedx402_aisearch_sessions","description":"Managed RAG session on rag.gedx402.com — one x402 payment creates an instance plus prepaid index/query credits (max 5 index / 10 query). POST optional id, initial_index {url}, query, and budget; returns session_id, session_token, paths, and optional results. Send session_token on index/query (X-AISearch-Session-Token or body) — no 402 until credits exhausted. Expires after 7 days idle. Bundle: GET /v1/models?bundle=managed-rag.","url":"https://rag.gedx402.com/v1/aisearch/sessions","method":"POST","payment":"x402","price_usd":0.62,"price_display":"$0.620","input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Optional instance id (lowercase, hyphens). Auto-generated if omitted."},"initial_index":{"type":"object","description":"Optional first ingest — url, text, or file_base64 (same fields as index route).","properties":{"url":{"type":"string","description":"Public URL to fetch and index."},"text":{"type":"string"},"file_base64":{"type":"string"},"filename":{"type":"string"},"poll":{"type":"boolean"}}},"query":{"type":"string","description":"Optional first hybrid search query."},"top_k":{"type":"integer","description":"Max chunks when query is set (1-50)."},"retrieval_type":{"type":"string","enum":["hybrid","vector","keyword"]},"budget":{"type":"object","description":"Prepaid index/query credits included in the single x402 payment (max 5 index / 10 query — matches the quoted worst case).","properties":{"max_index_ops":{"type":"integer","minimum":0,"maximum":5},"max_queries":{"type":"integer","minimum":0,"maximum":10}}}}},"example_request":{"initial_index":{"url":"https://example.com/docs"},"query":"How do I configure managed RAG?","budget":{"max_index_ops":1,"max_queries":1}}},{"name":"gedx402_aisearch_instances","description":"Managed RAG starter: create a managed RAG instance on rag.gedx402.com (expires after 7 days idle; activity extends the window). POST optional id; returns instance id, index_path, query_path, and expires_at. Prefer POST /v1/aisearch/sessions for single-hop create+index+query. Bundle: GET /v1/models?bundle=managed-rag.","url":"https://rag.gedx402.com/v1/aisearch/instances","method":"POST","payment":"x402","price_usd":0.12,"price_display":"$0.120","input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Optional instance id (lowercase, hyphens). Auto-generated if omitted."}}},"example_request":{}}],"catalog_url":"https://rag.gedx402.com/v1/models","demo_url":"https://rag.gedx402.com/v1/demo","instructions":"Shard API with 6 paid routes. Full catalog at hub GET /v1/models. Pay per request with USDC on Base via x402 v2 (Coinbase CDP facilitator). Choose any listed network in the 402 accepts[] response.","ownershipProofs":["0xb3C2776cE3F99cb3366520c27b4aC5D436942Ab6"]}