Retrieve text from file
Return the text or Markdown of the specified file.
The file is converted on first use and the converted document is kept, so later calls - and any
ingestion into a vector store or the knowledge graph - reuse it instead of converting again.
While another process is converting the same file, the call waits up to ~30 s for the
conversion and, if it is still running, answers 503 with Retry-After.
With image_mode=descriptions a vision model describes the file's images on the first such call and
the descriptions are kept, also for a file converted earlier without them. An image the model cannot
describe is left without a description - the call still succeeds, and a later one asks for it again.
AuthorizationBearer <token>file_id*stringThe ID of the file to use for this request.
^[0-9a-fA-F]{24}$image_mode?ImageModeHow images are represented in the output.
"none""none""descriptions""embedded""referenced"output_format?FileTextFormatOutput format: plain text or Markdown.
"txt""txt""md"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
Successful Response
response?stringcurl -X GET 'https://deepfellow-server-host/v1/files/5eb7cf5a86d9755df3a6c593/text'"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.