A way to say select count(*) from /query endpoint?

I can set my topK to 10000 and get back all the ids but:

  1. that’s a lot of ids to get back when all I want is a count.
  2. what if my count is > 10000

m := map[string]any{“topK”: “1”,
“includeMetadata”: false,
“includeValues”: false,
“queries”: queries}

Is there anyway to say run these queries but return me a count only?

The describe index stats method will return the vector count for a specified set of filters

1 Like

ah! Thank you. For some reason I kept thinking that only gave a full count and no filter were possible.