Path parameters
-
The ID of the vector store to retrieve.
GET
/vector_stores/{vector_store_id}
curl \
-X GET https://api.openai.com/v1/vector_stores/{vector_store_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"object": "vector_store",
"created_at": 42,
"name": "string",
"usage_bytes": 42,
"file_counts": {
"in_progress": 42,
"completed": 42,
"failed": 42,
"cancelled": 42,
"total": 42
},
"status": "expired",
"expires_after": {
"anchor": "last_active_at",
"days": 42
},
"expires_at": 42,
"last_active_at": 42,
"metadata": {}
}