Run a vector search query on configured target connection
Vector Store (Target Connection) identifier. Get the UUID from the '/target_connections' endpoint
Specify the columns/fields in the target vector store connection
Embedding model identifier. Get the UUID from the '/embedding_models' endpoint
Your query text
POST /api/workspace/query HTTP/1.1
Host: sapphire.contextdata.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"vector_store_identifier": "text",
"vector_store_column": [
"text"
],
"embedding_model_identifier": "text",
"query_text": "text",
"response_limit": 1
}
{
"message": "text",
"data": {}
}