Methods: client.uploadFile(), client.listFiles(), client.getFile(), client.getFileContent().
Example
client.listFiles() exists, but GET /files currently returns file_list_not_supported_with_shared_gateway_key
when you use the shared gateway key. Persist the uploaded.id value and retrieve files directly.
Key parameters
file (required for upload): Blob/File/base64/string.
purpose (required for upload): e.g., batch.
Returns
FileObject (upload/get)
Or FileListResponse (list when the underlying provider key supports file enumeration)