Pinecone
communityVector database for building high-performance AI applications with semantic search and recommendation.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://{index}-{project}.svc.{env}.pinecone.io/queryQuery similar vectors
Parameters
topKnumber of results (integerrequiredfiltermetadata filter (objectoptionalvectorquery vector (float[]requirednamespacenamespace (stringoptionalincludeMetadatareturn metadata (booleanoptionalReturns
matches[] with id, score, metadata, valuesPOST
https://{index}-{project}.svc.{env}.pinecone.io/vectors/upsertInsert or update vectors
Parameters
vectorsarray of {idrequired— values, metadata} (arraynamespacenamespace (stringoptionalReturns
upsertedCountGET
https://api.pinecone.io/indexesList all indexes
Returns
indexes[] with name, dimension, metric, host, status, spec