Sign in

Retrieve file content

documented

Download the content of a file.

GET /files/{file_id}/contentFilesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.openai.com/v1/files/{{$file_id}}/content" \
  -X GET \
  -H "Authorization: Bearer {{OPENAI_API_KEY}}" \
  -H "Accept: application/octet-stream" 
# Source: OpenAI Files API - Get file content (GET /v1/files/{file_id}/content)
Retrieve file content · OpenAI · OpenIntegrations