When using the pinecone-index image, you are starting up with an index already created. In this case, the APIs to manage indexes are not exposed, only those to interact with an index. listIndexes is one of those APIs that’s not available.
If you want to be able to manage indexes, which includes listIndexes, I would suggest using the pinecone-local image instead as documented here. Then you would have to create/upsert to indexes as shown in the code example there.
Hi @jenna, I did end up moving back to the pinecone-local docker image, however now I am getting a similar error that /vectors/<verb> endpoints are giving back 404 when trying to delete and upload documents via langchain (upserting vectors).