DeepFellow DOCS
DeepFellow API ReferenceVector store file batches

Retrieve a vector store file batch.

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

Retrieve a vector store file batch.

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 retrieve.

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
project_id*string

A 24-character hexadecimal MongoDB ObjectId string.

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

A 24-character hexadecimal MongoDB ObjectId string.

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

The object type, which is always vector_store.files_batch.

Default"vector_store.files_batch"
id*string

The file batch identifier, which can be referenced in the API endpoints.

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

The Unix timestamp (in seconds) for when the file batch was created.

status*VectorStoreFileBatchStatus

The status of the vector store file batch, which can be one of: ['in_progress', 'completed', 'cancelled', 'failed'].

Value in"in_progress""completed""cancelled""failed"
file_counts*

Detailed counts of the batch's files by status.

Example Request
curl -X GET 'https://deepfellow-server-host/v1/vector_stores/5eb7cf5a86d9755df3a6c593/file_batches/5eb7cf5a86d9755df3a6c593'
Example Response
{  "project_id": "5eb7cf5a86d9755df3a6c593",  "vector_store_id": "5eb7cf5a86d9755df3a6c593",  "object": "vector_store.files_batch",  "id": "5eb7cf5a86d9755df3a6c593",  "created_at": 0,  "status": "in_progress",  "file_counts": {    "cancelled": 0,    "completed": 0,    "failed": 0,    "in_progress": 0,    "total": 0  }}

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.