Commands Cheat Sheet

Try DrDroid: AI Agent for Debugging

80+ monitoring tool integrations
Long term memory about your stack
Locally run Mac App available

Thankyou for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.

Thank you for your submission

We have sent the cheatsheet on your email!
Oops! Something went wrong while submitting the form.
Read more
Time to stop copy pasting your errors onto Google!

Connection

qdrant-client connect --url=http://localhost:6333
Connect to a Qdrant server at the specified URL

curl http://localhost:6333/collections
List all collections via REST API

docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant
Start Qdrant in Docker

Collections Management

curl -X PUT http://localhost:6333/collections/my_collection
Create a collection via REST API

curl -X DELETE http://localhost:6333/collections/my_collection
Delete a collection via REST API

curl http://localhost:6333/collections/my_collection
Get collection info via REST API

qdrant-client collections create my_collection
Create a collection using CLI

Points Operations

curl -X PUT http://localhost:6333/collections/my_collection/points -d '{"points":[...]}' -H 'Content-Type: application/json'
Upload points via REST API

curl -X DELETE http://localhost:6333/collections/my_collection/points/id -H 'Content-Type: application/json'
Delete a point via REST API

curl -X GET http://localhost:6333/collections/my_collection/points/id
Get a point by ID via REST API

qdrant-client points upsert --collection=my_collection --points=points.json
Upload points using CLI

Search Operations

curl -X POST http://localhost:6333/collections/my_collection/points/search -d '{"vector":[...], "limit":10}' -H 'Content-Type: application/json'
Vector search via REST API

curl -X POST http://localhost:6333/collections/my_collection/points/search -d '{"filter":{...}, "limit":10}' -H 'Content-Type: application/json'
Filtered search via REST API

qdrant-client search --collection=my_collection --vector=[0.2,0.1,0.9] --limit=10
Vector search using CLI

Monitoring

curl http://localhost:6333/telemetry
Get telemetry data

curl http://localhost:6333/metrics
Get Prometheus metrics

curl http://localhost:6334/healthz
Health check endpoint