{"uid":"cap_2Z5lo37d4fNKkGyZ2d0vn","slug":"citiview-cached-answer-lookup-a2c67f63","name":"Citiview Cached Answer Lookup","description":"Shared answer cache: a recent cited answer to a question similar to yours (from /v1/answer) for a quarter of the price. Not charged when nothing close enough is cached.","url":"https://agents.citiviewgroup.com/v1/answer/cached?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string"},"max_age_days":{"type":"integer","description":"Default 7"},"min_similarity":{"type":"number","description":"0.7-0.99, default 0.88"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IFHwg65IoOq3ZldQgwAOM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a recently cached, cited answer to a question similar to the query at 1/4 the cost of a fresh answer, with no charge if no close match exists.","exampleAgentPrompt":"Check the shared answer cache for a recent cited answer to 'What are the main drivers of US inflation in 2024?' — use a minimum similarity of 0.85 and only accept answers from the last 5 days.","exampleUseCases":[{"title":"Budget-conscious research agent","prompt":"Before you run a full answer query, check the cache for a cited answer to 'What is the current federal funds rate and why did the Fed change it?' — only use it if it's from the last 3 days and at least 90% similar."},{"title":"Repeated FAQ deflection","prompt":"Can you check the shared answer cache for 'What are the symptoms of long COVID?' using default similarity settings? I don't want to pay for a fresh answer if a good one was already generated recently."},{"title":"Cost-optimized agentic pipeline","prompt":"In my research pipeline, before generating a new answer about 'How does the Sahm rule predict recessions?', first check the cached answers with a max age of 7 days and minimum similarity of 0.88 — only proceed to a fresh call if nothing close enough is cached."}],"resultDescription":"Returns a cached cited answer matching the query at a similarity above the threshold, including the answer text, sources/citations, similarity score to the original question, and the age of the cached response. If no sufficiently similar cached answer exists, returns a cache-miss response and no charge is applied.","failureModes":["Cache miss — no answer meets the similarity threshold, no charge applied","Query string missing — returns 400 bad request","min_similarity out of range (must be 0.7–0.99) — validation error","max_age_days too restrictive — reduces cache hit rate dramatically","Stale cache — cached answer may be outdated even within max_age_days","Service unavailable — returns 5xx if cache backend is down"],"whenToPreferThis":"Choose this endpoint when you want to save cost by reusing a recent, cited answer to a semantically similar question before committing to the full /v1/answer price. It is ideal for pipelines that ask common or recurring questions, for batch agents that process similar queries, or when you want to avoid redundant LLM calls. Not suitable when you need guaranteed freshness or a highly specific answer with no tolerance for approximation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:40:40.260Z","isFirstParty":false,"canonicalSlug":"citiview-cached-answer-lookup-a2c67f63"}