Returning list of IDs

Is there some way to return a list of all the IDs in an index?

1 Like

Not yet. A hacky way to do this would be to query with top_k = size_of_index. As of this writing, the max value for top_k — the number of results to return — is 10,000. Max value for top_k for queries with include_metadata=True or include_data=True is 1,000. See our docs on limits for more info.

Most engineers using Pinecone will be working with datasets much larger than 10,000. So sadly I don’t think the “the hacky way” is a real option.

1 Like