404 errors returned when listing files for an assistant

If you look at the curl example on List Files - Pinecone Docs you’ll see that the URL uses a strange host starting with prod-1-data rather than api.pinecone.io.

Regardless, I am getting 404 errors back for my assistant name using either of those URLs. I get the same 404 when trying to upload a file to my assistant as well.

I should mention that I have checked and re-checked that my assistant name is correct. I get a valid response showing that it is Ready when I call the “check” method for that assistant name.

I’m guessing this is a documentation error. If so, then I need to know the correct URL for accessing and uploading assistant files.

Note that I’ve tried this manually using curl from a shell. So there is no other strange code involved.

Follow-up: I got this working by switching to the hostname that is listed in the documentation. I must not have checked that correctly when I did it the first time. If this other hostname is required, then it would be good to make that more visible in the docs. (I’m not using Python so am not using the SDK.)