Querying facts about db

Hey all,

How do I query basic information like, “how many vectors do i have?” or “return all vectors” or “vectors with meta-data field == ‘blah’?” or anything other than the vectors themselves?

Your question can be splitted in two part:

1. how many vectors do i have?


You will find the metric ‘pinecone_vector_count’


2. return all vectors and vectors with meta-data field == ‘blah’?

at this time, from what I read, it’s not possible to query without passing by the vector.

That being said, you can pass a random vector and put your top_k to 10000. You could also add your meta-data-field ($eq) ‘blah’ in the filters.