Download OpenAI file content

GET
/v1/router/openai/v1/files/{file_id}/content

Returns original file bytes for OpenAI Files content requests.

Authorization

AuthorizationBearer <token>

API key as Bearer token: Authorization: Bearer dp_sk_xxx

In: header

Path Parameters

file_id*string
Match^file_dp_[0-9A-HJKMNP-TV-Z]{26}$

Response Body

application/octet-stream

curl -X GET "https://example.com/v1/router/openai/v1/files/string/content"
"string"