OpenAPI 3.1.02026-08-226994571.1 MB
1e929292ddd5
files
Get File Content
Returns information about a specific file. that can be used across - Assistants API, Batch API This is the equivalent of GET https://api.openai.com/v1/files/{file_id}/content
Supports Identical Params as: https://platform.openai.com/docs/api-reference/files/retrieve-contents
Example Curl
curl http://localhost:4000/v1/files/file-abc123/content -H "Authorization: Bearer sk-1234"
get/{provider}/v1/files/{file_id}/content
Path parameters
file_idstring required
providerstring nullable required
Response
Successful Response
{"stackTrail":"paths:/{provider}/v1/files/{file_id}/content:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}