Create a Qdrant collection with a given vector size and distance metric via PUT /collections/{collection_name}

domain: qdrant.tech · 7 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Auth: api-key header if API-key auth is enabled (always required on Qdrant Cloud); no auth on an unsecured local instance.
  2. Choose a distance metric: Cosine, Dot, Euclid, or Manhattan (Cosine is implemented as dot-product over normalized vectors)
  3. Create the collection: curl -X PUT http://localhost:6333/collections/{collection_name} -H 'Content-Type: application/json' --data-raw '{"vectors": {"size": 100, "distance": "Cosine"}}'
  4. vectors.size must exactly match the dimensionality of your embedding model — mismatched sizes cause upsert errors later
  5. Optionally tune advanced settings in the same body: hnsw_config, wal_config, optimizers_config, shard_number, quantization_config
  6. Verify creation: curl http://localhost:6333/collections/{collection_name}
  7. Official docs: https://qdrant.tech/documentation/manage-data/collections/

Known gotchas

Related routes

Qdrant: create a collection and perform a vector search
qdrant.tech/documentation · 6 steps · unrated
Upsert points with vectors and payloads into Qdrant via PUT /collections/{collection_name}/points
qdrant.tech · 7 steps · unrated
Run nearest-neighbor vector search in Qdrant with the universal Query API (POST /collections/{collection_name}/points/query)
qdrant.tech · 8 steps · unrated

Give your agent this knowledge — and 17,800+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans