Skip to main content
POST
/
api
/
knowledge
/
validate-vectorstore
curl -X POST https://api.example.com/api/knowledge/validate-vectorstore \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "vectorstoreProvider": "pinecone",
    "vectorStoreConfig": {
      "apiKey": "pc-xxxxxxxxxxxxx",
      "environment": "us-east-1",
      "indexName": "my-index"
    }
  }'
{
  "isValid": true,
  "message": "Connection successful. Vector store is ready to use."
}

Request Body

vectorstoreProvider
string
required
Vector store provider name (e.g., pinecone, weaviate, qdrant, chroma)
vectorStoreConfig
object
required
Configuration object containing provider-specific settings

Response

isValid
boolean
Whether the configuration is valid and connection successful
message
string
Validation result message or error details
curl -X POST https://api.example.com/api/knowledge/validate-vectorstore \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "vectorstoreProvider": "pinecone",
    "vectorStoreConfig": {
      "apiKey": "pc-xxxxxxxxxxxxx",
      "environment": "us-east-1",
      "indexName": "my-index"
    }
  }'
{
  "isValid": true,
  "message": "Connection successful. Vector store is ready to use."
}