404.
Upload
file part and a purpose string (user_data for documents you will reference from chat messages) and returns the stored file object, including the id used in later requests.
List, fetch, download, delete
client.files.list(), client.files.retrieve(id), client.files.content(id), and client.files.delete(id) (Node client.files.del(id) on older versions).
Use a file in a request
Reference the uploaded file from a chat message as afile content part, and add the file-parser plugin so models without native document input can read it. See multimodal.
