Unable to retrieve Assistant file content

Hi there, we think it’d be extremely useful for iterating on user feedback of our implementation of the Assistants API to be able to retrieve the content of the file being used. Currently this is not supported and the following error is returned from the API. Just wondering why is this the case and could it potentially be changed in future? Right now we are having to store a copy of the file in AWS S3 every time we upload the file to OpenAI.


curl --location 'https://api.openai.com/v1/files/<FILE_ID>/content' \
--header 'Authorization: Bearer <OPENAI_API_KEY>' \


    "error": {
        "message": "Not allowed to download files of purpose: assistants",
        "type": "invalid_request_error",
        "param": null,
        "code": null

Currently you can only download files created by Code interpreter, so… presumably you could ask the assistant to make use of code interpreter to create a file of the contents you need.