curl --request POST \
--url https://documents.absconsulting.com/v1/vector_stores/{vector_store_id}/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"file_id": "<string>"
}
'{
"id": "<string>",
"object": "<string>",
"vector_store_id": "<string>",
"created_at": 123,
"status": "<string>",
"last_error": "<string>",
"metadata": {}
}Create a vector store file by attaching a file to a vector store.
This endpoint has a rate limit of 30 requests per user per minute.
curl --request POST \
--url https://documents.absconsulting.com/v1/vector_stores/{vector_store_id}/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"file_id": "<string>"
}
'{
"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 attach to the vector store.
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.
Show child attributes
If true, skip OCR and advanced table recognition when converting the file to markdown. The file will process faster, but the content may not be as accurate.
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?