API Reference
Retrieve a vector store file
GET
/
v1
/
vector_stores
/
{vector_store_id}
/
files
/
{file_id}
Retrieve a vector store file
curl --request GET \
--url https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}/files/{file_id}import requests
url = "https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}/files/{file_id}"
response = requests.get(url)
print(response.text){
"id": "<string>",
"object": "vector_store.file",
"vector_store_id": "<string>",
"status": "in_progress",
"created_at": 123,
"usage_bytes": 123,
"attributes": {},
"chunking_strategy": {},
"last_error": {
"code": "<string>",
"message": "<string>"
}
}Response
Vector store file
⌘I
Retrieve a vector store file
curl --request GET \
--url https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}/files/{file_id}import requests
url = "https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}/files/{file_id}"
response = requests.get(url)
print(response.text){
"id": "<string>",
"object": "vector_store.file",
"vector_store_id": "<string>",
"status": "in_progress",
"created_at": 123,
"usage_bytes": 123,
"attributes": {},
"chunking_strategy": {},
"last_error": {
"code": "<string>",
"message": "<string>"
}
}