The vector store object
Beta

A vector store is a collection of processed files can be used by the file_search tool.source

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

The object type, which is always vector_store.source

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

The name of the vector store.source

The total number of bytes used by the files in the vector store.source

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

The expiration policy for a vector store.source

The Unix timestamp (in seconds) for when the vector store will expire.source

The Unix timestamp (in seconds) for when the vector store was last active.source

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.source

OBJECT The vector store object
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "id": "vs_123",
  "object": "vector_store",
  "created_at": 1698107661,
  "usage_bytes": 123456,
  "last_active_at": 1698107661,
  "name": "my_vector_store",
  "status": "completed",
  "file_counts": {
    "in_progress": 0,
    "completed": 100,
    "cancelled": 0,
    "failed": 0,
    "total": 100
  },
  "metadata": {},
  "last_used_at": 1698107661
}