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

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

vector_store_id
string
required

The ID of the vector store.

file_id
string
required

The ID of the file to use for this request.

Body

application/json

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.

{key}
string

Response

Successful Response

id
string
required

The ID of the vector store file.

object
string
required

The type of object.

vector_store_id
string
required

The ID of the vector store to list the files from.

created_at
integer
required

The timestamp when the vector store file was created.

status
string
required

The status of the vector store file.

last_error
string | null

The last error message.

metadata
Metadata · object

The metadata of the vector store file.