API Reference
Retrieve a vector store
Returns one knowledge base, including file counts.
GET
/
v1
/
vector_stores
/
{vector_store_id}
Retrieve a vector store
curl --request GET \
--url https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}import requests
url = "https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}"
response = requests.get(url)
print(response.text){
"id": "<string>",
"object": "vector_store",
"name": "<string>",
"status": "in_progress",
"created_at": 123,
"description": "<string>",
"file_counts": {
"in_progress": 123,
"completed": 123,
"failed": 123,
"cancelled": 123,
"total": 123
},
"last_active_at": 123,
"metadata": {},
"usage_bytes": 123,
"expires_at": 123
}Response
Vector store
OpenAI vector store object. This is a knowledge base.
⌘I
Retrieve a vector store
curl --request GET \
--url https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}import requests
url = "https://api.synapsai.cloud/v1/vector_stores/{vector_store_id}"
response = requests.get(url)
print(response.text){
"id": "<string>",
"object": "vector_store",
"name": "<string>",
"status": "in_progress",
"created_at": 123,
"description": "<string>",
"file_counts": {
"in_progress": 123,
"completed": 123,
"failed": 123,
"cancelled": 123,
"total": 123
},
"last_active_at": 123,
"metadata": {},
"usage_bytes": 123,
"expires_at": 123
}