Integrated
Search a namespace
This operation converts a query to a vector embedding and then searches a namespace using the embedding. It returns the most similar records in the namespace, along with their similarity scores.
POST
/
records
/
namespaces
/
{namespace}
/
search
Authorizations
Api-Key
string
headerrequiredAn API Key is required to call Pinecone APIs. Get yours from the console.
Path Parameters
namespace
string
requiredThe namespace to search.
Body
application/json
A search request for records in a specific namespace.
query
object
requiredThe query inputs to search with.
fields
string[]
The fields to return in the search results.
rerank
object
Parameters for reranking the initial search results.
Response
200 - application/json
The records search response.
result
object
requiredusage
object
requiredWas this page helpful?