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": {}
}Modify a vector store file’s metadata.
This endpoint has a rate limit of 60 requests per user per minute.
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": {}
}Bearer token for authentication
The ID of the vector store.
The ID of the file to use for this request.
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.
Successful Response
The ID of the vector store file.
The type of object.
The ID of the vector store to list the files from.
The timestamp when the vector store file was created.
The status of the vector store file.
The last error message.
The metadata of the vector store file.
Show child attributes
Was this page helpful?