# Returning all unique values of specific metadata key

**URL:** <https://community.pinecone.io/t/returning-all-unique-values-of-specific-metadata-key/2700>\
**Category:** Support\
**Tags:** vector-database\
**Created:** [July 17, 2023, 6:32pm UTC](https://community.pinecone.io/t/returning-all-unique-values-of-specific-metadata-key/2700 "2023-07-17T18:32:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adarsh.danda](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/adarsh.danda/32/813_2.png) [@adarsh.danda](https://community.pinecone.io/u/adarsh.danda)\
**Post date:** [July 17, 2023, 6:32pm UTC](https://community.pinecone.io/t/returning-all-unique-values-of-specific-metadata-key/2700/1 "2023-07-17T18:32:38Z")

</div>

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](https://community.pinecone.io/t/retrieve-unique-list-of-options-for-a-specific-metadata-field/1585)

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!
