Global Flags
Section titled “Global Flags”| Flag | Description |
|---|---|
--quiet | Suppress decorative output |
--json | Output structured JSON |
qql-go connect
Section titled “qql-go connect”Configure the connection to a Qdrant instance.
qql-go connect --url <qdrant-url> [flags]Connection Flags
Section titled “Connection Flags”| Flag | Default | Description |
|---|---|---|
--url | — | Qdrant gRPC URL (port 6334) |
--secret | — | Qdrant API key |
--inference-mode | cloud | cloud, local, or external |
--embedding-endpoint | — | OpenAI-compatible /v1/embeddings URL |
--embedding-key | — | Bearer token for embedding provider |
--embedding-model | — | Model name |
--embedding-dimension | auto | Vector dimension (auto-probed if reachable) |
Examples:
qql-go connect --url https://<cluster>.qdrant.io --secret <api-key>qql-go connect --url http://localhost:6334 --inference-mode local--embedding-endpoint http://127.0.0.1:1234/v1/embeddings--embedding-model text-embedding-all-minilm-l6-v2-embeddingqql-go exec
Section titled “qql-go exec”Execute a single QQL statement.
qql-go exec "<statement>" qql-go exec --quiet --json "<statement>"qql-go exec "QUERY 'search' FROM docs LIMIT 5 USING HYBRID" qql-go exec "CREATE COLLECTION docs HYBRID" qql-go exec "SHOW COLLECTIONS" qql-go exec --quiet --json "QUERY 'search' FROM docs LIMIT 5"qql-go explain
Section titled “qql-go explain”Parse a QQL statement and return the execution plan without running it.
qql-go explain "<statement>" qql-go explain --json "<statement>"qql-go explain "QUERY 'search' FROM docs LIMIT 5 USING HYBRID RERANK" qql-go explain --json "QUERY 'search' FROM docs LIMIT 5"qql-go execute
Section titled “qql-go execute”Execute a .qql script file.
qql-go execute <script.qql> qql-go execute --stop-on-error <script.qql> qql-go execute --quiet --json <script.qql>| Flag | Description |
|---|---|
--stop-on-error | Stop on first statement failure |
--quiet | Suppress decorative output |
--json | Output structured JSON array |
qql-go dump
Section titled “qql-go dump”Export a collection as a runnable .qql script.
qql-go dump <collection> <output.qql> qql-go dump --batch-size <n> <collection> <output.qql> qql-go dump --quiet --json <collection> <output.qql>| Flag | Default | Description |
|---|---|---|
--batch-size | 100 | Number of points per INSERT statement |
qql-go convert
Section titled “qql-go convert”Translate Qdrant REST API JSON to QQL statements.
qql-go convert <payload.json> cat payload.json | qql-go convert qql-go convert --validate <payload.json> qql-go convert --json <payload.json> qql-go convert --quiet <payload.json>| Flag | Description |
|---|---|
--validate | Run output through EXPLAIN to verify it parses |
--json | Output structured JSON |
--quiet | Output only QQL statements, no decoration |
qql-go serve
Section titled “qql-go serve”Start the Connect RPC gateway.
qql-go serve [flags]Core Flags
Section titled “Core Flags”| Flag | Default | Description |
|---|---|---|
--listen | :50051 | Address to listen on |
--qdrant-url | http://localhost:6334 | Qdrant gRPC endpoint |
--api-key | — | Qdrant API key |
Embedding Flags
Section titled “Embedding Flags”| Flag | Default | Description |
|---|---|---|
--inference-mode | local | cloud, local, or external |
--embedding-endpoint | — | Embedding server URL |
--embedding-model | sentence-transformers/all-minilm-l6-v2 | Model name |
--embedding-dimension | 384 | Vector dimension |
Auth Flags
Section titled “Auth Flags”| Flag | Default | Description |
|---|---|---|
--jwks-url | — | JWKS endpoint URL |
--jwt-issuer | — | Expected iss claim |
--jwt-audience | — | Expected aud claim |
--jwks-cache-ttl | 10m | Key cache TTL |
--role-claim | role | JWT claim path for roles |
--tenant-claim | tenant_id | JWT claim path for tenant |
Policy Flags
Section titled “Policy Flags”| Flag | Default | Description |
|---|---|---|
--policy-file | — | Path to YAML policy file |
--policy-reload | false | Hot-reload policy on file change |
Rate Limit Flags
Section titled “Rate Limit Flags”| Flag | Default | Description |
|---|---|---|
--rate-limit | 0 | Max requests/sec per user (0 = unlimited) |
--rate-limit-capacity | 20 | Max burst size per user |
Other Flags
Section titled “Other Flags”| Flag | Default | Description |
|---|---|---|
--templates | — | Path to YAML query templates file |
--audit | false | Enable structured audit logging |
--audit-file | — | Audit log output file (default: stderr) |
qql-go doctor
Section titled “qql-go doctor”Report connection and configuration status.
qql-go doctor qql-go doctor --quiet --jsonqql-go repl
Section titled “qql-go repl”Start the interactive REPL.
qql-go replqql-go disconnect
Section titled “qql-go disconnect”Remove the stored connection config.
qql-go disconnectqql-go version
Section titled “qql-go version”Print the CLI version.
qql-go versionqql-go X.Y.ZSection titled “qql-go X.Y.Z”