Download a file's contents
Retrieve File Content
Returns the raw bytes with the file’s stored Content-Type header.
GET
Download a file's contents
Download a file’s raw bytes (response
Content-Type matches the upload). For metadata only, use Retrieve File. Compatible with OpenAI’s Retrieve file content endpoint.
You can pass this content URL as an image_url or video_url in a chat completion — see Working with files.
Rate limit: 30 requests/min.