Returning all unique values of specific metadata key

Hi! I’ve got a vector database with around 200 vectors right now. I have three different metadata keys, “name”, “genre”, “text”. I want to get all the values paired with the name metadata key (Example: If I had 3 articles in db, name values will be “Most Popular Songs 2023”, “Least Popular Songs 2023”, “Earthquake Strikes New York”). Is there a way that I could return all these unique metadata values?

I already looked into this discussion

It mentions that you can use filter as a parameter in describe_index_stats to get all the metadata values but filter must be a dictionary so I am unsure of what to specify for the key or value. If someone understands how to implement this or knows another solution could you also include an example? Thanks!