{"uid":"cap_yTYr6DBmnVZAVb09zHM7P","slug":"relaystation-rag-query-bundle-bd086f10","name":"Relaystation RAG Query Bundle","description":"~$0.01/run, bills the sum of steps. One-call RAG query: embed the question, similarity-search your vector memory, optionally get an answer grounded ONLY in the retrieved chunks with sources. Recipe: relaystation.ai/recipes/agent-rag-memory. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/bundles/rag-query","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PEwECJZctluaQ2cnajGdx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"One-call RAG pipeline: embeds a question, searches a vector memory index, and optionally returns a grounded answer with cited source chunks","exampleAgentPrompt":"Search my Relaystation vector memory for 'what are the refund policy terms?' and give me a grounded answer with the source chunks it was pulled from.","exampleUseCases":[{"title":"Customer support knowledge base lookup","prompt":"Query my Relaystation vector memory with 'how do I reset my password?' and return an answer grounded only in what's stored there, with the source passages cited."},{"title":"Legal document clause retrieval","prompt":"Search my embedded contract documents for the most relevant chunks about 'indemnification obligations' and give me a grounded summary with sources."},{"title":"Agent long-term memory recall","prompt":"Check my agent's vector memory index for anything relevant to 'previous user preferences for dashboard layout' and return the top matching chunks with a grounded answer."}],"resultDescription":"Returns the most similar vector chunks from the index matching the query, plus an optional LLM-generated answer grounded exclusively in those retrieved chunks with source references included.","failureModes":["Empty or missing vector index returns no results or an error","Poorly formed question yields low-similarity chunks with irrelevant content","Payment not attached or insufficient USDC credits results in 402 rejection","Malformed HTTP body type or missing required fields returns a 400 validation error","Index not yet populated (no embeddings written) returns empty results"],"whenToPreferThis":"Choose this endpoint when you need a complete one-call RAG pipeline — embedding, vector search, and optional grounded answer — without wiring together separate embedding and search services. Ideal for agents that have pre-populated a Relaystation baton vector index and need fast, cited, document-grounded responses rather than open-ended generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:03.933Z","isFirstParty":false}