DeepFellow DOCS
DeepFellow API ReferenceVector store file batches

Returns a list of vector store files in a batch.

GET
/v1/vector_stores/{vector_store_id}/file_batches/{batch_id}/files

Return a list of the vector store files belonging to a batch, with pagination and filtering.

Needs user bearer token in authorization header.

Authorization

headerAuthorizationBearer <token>

Path Parameters

vector_store_id*string

The ID of the vector store to use.

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

The ID of the file batch to list files of.

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

Query Parameters

order?string

Sort order by created_at

Default"desc"
Value in"asc""desc"
after?|null
before?|null
filter?|

Filter by file status. One of: ['in_progress', 'completed', 'cancelled', 'failed']

limit?integer

Number of objects to return.

Range1 <= value <= 100
Default20

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
object?string
Default"list"
data?array<>
Default[]
first_id?|

First item ID.

last_id?|

Last item ID

has_more?boolean

True if all elements from a collection are listed.

Defaultfalse
Example Request
curl -X GET 'https://deepfellow-server-host/v1/vector_stores/5eb7cf5a86d9755df3a6c593/file_batches/5eb7cf5a86d9755df3a6c593/files'
Example Response
{  "object": "list",  "data": [],  "first_id": "5eb7cf5a86d9755df3a6c593",  "last_id": "5eb7cf5a86d9755df3a6c593",  "has_more": false}

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.