curl --request GET \
--url https://api.openai.com/v1/vector_stores/{vector_store_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "vector_store",
"created_at": 123,
"name": "<string>",
"usage_bytes": 123,
"file_counts": {
"in_progress": 123,
"completed": 123,
"failed": 123,
"cancelled": 123,
"total": 123
},
"status": "expired",
"expires_after": {
"anchor": "last_active_at",
"days": 183
},
"expires_at": 123,
"last_active_at": 123,
"metadata": {}
}
curl --request GET \
--url https://api.openai.com/v1/vector_stores/{vector_store_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "vector_store",
"created_at": 123,
"name": "<string>",
"usage_bytes": 123,
"file_counts": {
"in_progress": 123,
"completed": 123,
"failed": 123,
"cancelled": 123,
"total": 123
},
"status": "expired",
"expires_after": {
"anchor": "last_active_at",
"days": 183
},
"expires_at": 123,
"last_active_at": 123,
"metadata": {}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the vector store to retrieve.
OK
A vector store is a collection of processed files can be used by the file_search
tool.
Was this page helpful?