DeepFellow DOCS

Retrieve file content

GET
/v1/files/{file_id}/content

Return the contents of the specified file.

Authorization

headerAuthorizationBearer <token>

Path Parameters

file_id*string

The ID of the file to use for this request.

Match^[0-9a-fA-F]{24}$

Header Parameters

OpenAI-Organization?|

Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.

OpenAI-Project?|

Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization

Response Body

Successful Response

response?fileapplication/octet-stream
Formatbinary
Example Request
curl -X GET 'https://deepfellow-server-host/v1/files/5eb7cf5a86d9755df3a6c593/content'
Example Response
"string"

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.