Use the Qdrant CLI from KosmoKrator to call Qdrant tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Qdrant can be configured headlessly with `kosmokrator integrations:configure qdrant`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure qdrant --set api_key="$QDRANT_API_KEY" --enable --read allow --write ask --jsonkosmokrator integrations:doctor qdrant --jsonkosmokrator integrations:status --json
Credentials
Authentication type: API keyapi_key. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
api_key
QDRANT_API_KEY
Secret secret
yes
API Key
url
QDRANT_URL
URL url
no
Cluster URL
Call Qdrant Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Qdrant.
qdrant.qdrant_list_collections
Read read
List all vector collections in the Qdrant cluster. Returns collection names and basic metadata.
Create a new vector collection in Qdrant. You must specify the vector configuration (size, distance metric). Optionally provide HNSW, quantization, and optimization settings.
Insert or update points (vectors with optional payloads) in a Qdrant collection. Each point requires an ID and a vector. Payloads are optional metadata.
Create a new vector collection in Qdrant. You must specify the vector configuration (size, distance metric). Optionally provide HNSW, quantization, and optimization settings.
The query vector (array of floats). Use this for direct vector search.
vector_name
string
no
Named vector to search against (for multi-vector collections).
filter
object
no
Filter conditions to narrow results. JSON object with "must", "should", "must_not" clauses.
limit
integer
no
Maximum number of results to return (default: 10).
offset
integer
no
Offset for pagination.
with_payload
boolean
no
Whether to include point payloads in results (default: true).
with_vectors
boolean
no
Whether to include vectors in results (default: false).
score_threshold
number
no
Minimum similarity score threshold. Results below this are excluded.
qdrant.qdrant_upsert_points
Insert or update points (vectors with optional payloads) in a Qdrant collection. Each point requires an ID and a vector. Payloads are optional metadata.
Array of point objects. Each point must have "id" (integer or UUID string), "vector" (array of floats), and optionally "payload" (object with metadata).
wait
boolean
no
Whether to wait for the operation to complete (default: true).
ordering
string
no
Write ordering guarantee: "weak" or "strong" (default: "weak").
qdrant.qdrant_get_current_user
Get information about the Qdrant cluster, including cluster status, node information, and the authenticated user context.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.