How to fetch ids from a namespace? Sample code in CRUL (not python not node.js but curl) preferred

I don’t think that API exists. The only way to fetch data is to is by providing the list of IDs you want to fetch, at least according to the fetch API docs, which implies that you’re tracking them somewhere outside of Pinecone.

I’d love to see the fetch API expanded to take these optional arguments, consistent with the query endpoint:

  • namespace for limiting to a specific namespace
  • filter for filtering by metadata
  • includeMetadata flag for including metadata in the response
  • includeValues flag for including vector values in response
2 Likes