Skip to main content
PUT
/
v1
/
vector_stores
/
{vector_store_id}
Modify Vector Store
curl --request PUT \
  --url https://documents.absconsulting.com/v1/vector_stores/{vector_store_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "metadata": {}
}
'
{
  "id": "<string>",
  "object": "<string>",
  "name": "<string>",
  "created_at": 123,
  "expires_at": 123,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

vector_store_id
string
required

The ID of the vector store.

Body

application/json
name
string | null

The name of the vector store. Must be between 1 and 63 characters long. Can only contain letters, numbers, hyphens, and underscores.

metadata
Metadata · object

A set of up to 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, and querying for objects. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

Response

Successful Response

id
string
required

The ID of the vector store.

object
string
required

The type of object.

name
string
required

The name of the vector store.

created_at
integer
required

The timestamp when the vector store was created.

expires_at
integer
required

The timestamp when the vector store will expire.

metadata
Metadata · object

The metadata of the vector store.