{"uid":"cap_XH07w-Tfb1LVRO5DnooL6","slug":"pinecone-vector-query-via-sovereign-x402-aa18f972","name":"Pinecone Vector Query via Sovereign x402","description":"Query a Pinecone index for the nearest vectors to a given vector.","url":"https://sovereign-x402-zeta.vercel.app/api/v1/vector/pinecone/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":{"type":"object","properties":{},"additionalProperties":true},"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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iqKaFcsVbPTWIgVAeEnkI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Query a Pinecone index to retrieve the nearest neighbor vectors to a given query vector using cosine or other similarity metrics.","exampleAgentPrompt":"Search my Pinecone index called 'product-embeddings' for the 5 nearest neighbors to this query vector: [0.12, 0.45, 0.78, 0.33, 0.91] and return their IDs and similarity scores.","exampleUseCases":[{"title":"Semantic document retrieval pipeline","prompt":"I have a Pinecone index called 'docs-index' — can you find the 10 vectors closest to this embedding [0.21, 0.55, 0.88, 0.14, 0.62] so I can surface the most relevant documents?"},{"title":"Recommendation engine nearest-neighbor lookup","prompt":"Query my 'user-prefs' Pinecone index for the top 5 vectors nearest to [0.33, 0.77, 0.41, 0.09, 0.58] — I'm building a product recommendation feature and need the closest matches."},{"title":"Duplicate detection via vector similarity","prompt":"Check my 'content-vectors' Pinecone index for any vectors very close to [0.05, 0.92, 0.37, 0.68, 0.24] — I want to know if near-duplicate content already exists before indexing a new item."}],"resultDescription":"Returns the nearest neighbor vectors from the specified Pinecone index, including each match's vector ID, similarity score, and any stored metadata, ordered from most to least similar.","failureModes":["Pinecone index does not exist or is not accessible — returns an error indicating the index was not found","Query vector dimension does not match the index dimension — returns a dimension mismatch error","Invalid or malformed vector values (e.g. non-numeric entries) — returns a validation error","Missing required body fields such as the query vector or index name — returns a 400 bad request","Payment not processed — returns a 402 Payment Required before executing the query","Pinecone service outage or upstream timeout — returns a 503 or timeout error"],"whenToPreferThis":"Choose this endpoint when you need to perform nearest-neighbor vector search against a Pinecone index without managing your own Pinecone API keys or infrastructure, and you want a pay-per-call model via x402 micropayments. It is ideal for agents that need on-demand semantic search without persistent Pinecone credentials. Prefer the sibling Qdrant endpoint if your vector store is Qdrant instead of Pinecone.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:53:10.066Z","isFirstParty":false}