DeepFellow DOCS
DeepFellow API ReferenceVector store files

Retrieve parsed contents of a vector store file.

GET
/v1/vector_stores/{vector_store_id}/files/{file_id}/content

Retrieve the parsed contents of a vector store file.

Needs user bearer token in authorization header.

Authorization

headerAuthorizationBearer <token>

Path Parameters

file_id*string

The ID of the file to retrieve

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

The ID of the vector store to use.

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

application/json
  1. response
file_id*string

A 24-character hexadecimal MongoDB ObjectId string.

Match^[0-9a-fA-F]{24}$
filename*string
attributes?|

Set of 16 key-value pairs that can be attached to an object. Keys are strings with a maximum length of 64 characters. Values are strings (max 512 chars), booleans, or numbers.

Default{}
content*array<>
Example Request
curl -X GET 'https://deepfellow-server-host/v1/vector_stores/5eb7cf5a86d9755df3a6c593/files/5eb7cf5a86d9755df3a6c593/content'
Example Response
{  "file_id": "5eb7cf5a86d9755df3a6c593",  "filename": "string",  "attributes": {},  "content": [    {      "text": "string",      "type": "text",      "offset": 0,      "metadata": {}    }  ]}

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.