{"uid":"cap_lgRekYvo0J4DSbsdau7uN","slug":"citiview-library-docs-for-agents-f0680aa1","name":"Citiview Library Docs for Agents","description":"Current library docs for agents with stale training: the latest version of an npm or PyPI package, how to use it now, and the breaking changes since the version you know, from its README and changelog.","url":"https://agents.citiviewgroup.com/v1/libdocs?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":["package"],"properties":{"async":{"type":"boolean"},"package":{"type":"string"},"question":{"type":"string"},"ecosystem":{"type":"string","description":"npm | pypi"},"from_version":{"type":"string","description":"Version you know"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Gx-AVX85X5DIdJ52KmkR9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest version, current usage docs, and breaking changes for an npm or PyPI package so agents with stale training can use it correctly","exampleAgentPrompt":"What's the latest version of the 'axios' npm package, how do I use it now, and what breaking changes happened since version 1.2.0?","exampleUseCases":[{"title":"Migrating from old LangChain version","prompt":"I'm using langchain 0.0.200 in Python and my agent might be using outdated patterns — what's the latest PyPI version, how do I use it now, and what broke between 0.0.200 and the current release?"},{"title":"Checking current React Query usage","prompt":"What's the latest npm version of react-query, show me how to use it today, and list any breaking changes since version 3.39?"},{"title":"Updating FastAPI integration code","prompt":"My code uses fastapi 0.95 and I need to know if anything broke since then — fetch the latest PyPI version of fastapi, the current usage docs, and all breaking changes since 0.95."}],"resultDescription":"Returns the latest published version of the requested npm or PyPI package, current usage instructions extracted from the README, and a summary of breaking changes since the specified from_version — giving agents up-to-date context they may lack due to stale training data.","failureModes":["Unknown package name returns an error or empty result","Ecosystem not specified correctly (must be 'npm' or 'pypi') causes lookup failure","Package has no changelog, resulting in incomplete breaking-changes data","Very new packages with minimal READMEs return sparse documentation","Rate limiting or upstream registry unavailability causes timeout"],"whenToPreferThis":"Use this endpoint when an AI agent's training data is stale and it needs authoritative, current documentation for a specific npm or PyPI package — especially before generating code that calls third-party library APIs, or when a user reports that generated code uses deprecated patterns. Prefer this over general web search when you need structured, version-aware diff of what changed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:48:37.939Z","isFirstParty":false,"canonicalSlug":"citiview-library-docs-for-agents-f0680aa1"}