Skip to content
Primary navigation

Retrieve container file content

GET/containers/{container_id}/files/{file_id}/content

Retrieve Container File Content

Path ParametersExpand Collapse
container_id: string
file_id: string

Retrieve container file content

curl https://api.openai.com/v1/containers/container_123/files/cfile_456/content \
  -H "Authorization: Bearer $OPENAI_API_KEY"
<binary content of the file>
Returns Examples
<binary content of the file>