The vector store file object
Beta

A list of files attached to a vector store.source

The identifier, which can be referenced in API endpoints.source

The object type, which is always vector_store.file.source

The total vector store usage in bytes. Note that this may be different from the original file size.source

The Unix timestamp (in seconds) for when the vector store file was created.source

The ID of the vector store that the File is attached to.source

The status of the vector store file, which can be either in_progress, completed, cancelled, or failed. The status completed indicates that the vector store file is ready for use.source

The last error associated with this vector store file. Will be null if there are no errors.source

The strategy used to chunk the file.source

OBJECT The vector store file object
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "id": "file-abc123",
  "object": "vector_store.file",
  "usage_bytes": 1234,
  "created_at": 1698107661,
  "vector_store_id": "vs_abc123",
  "status": "completed",
  "last_error": null,
  "chunking_strategy": {
    "type": "static",
    "static": {
      "max_chunk_size_tokens": 800,
      "chunk_overlap_tokens": 400
    }
  }
}