Retrieve vector store

GEThttps:/api.openai.com/v1/vector_stores/{vector_store_id}

Retrieves a vector store.

Path parameters

  • vector_store_id
    string
    Required
    The ID of the vector store to retrieve.

Response

The vector store object matching the specified ID.

Example request
1
curl https://api.openai.com/v1/vector_stores/vs_abc123 \
2
-H "Authorization: Bearer $OPENAI_API_KEY" \
3
-H "Content-Type: application/json" \
4
-H "OpenAI-Beta: assistants=v2"
Example response
1
{
2
"id": "vs_abc123",
3
"object": "vector_store",
4
"created_at": 1699061776
5
}
Built with