Qdrant

Use Qdrant in Sim to upsert points, search for similar vectors with optional payload filters, and fetch points by ID. Points contain vectors and associated payload data; fetch and search options control which fields are returned.

Use the block

Upsert, search, and fetch points.

Actions

Qdrant Upsert Points

Insert or update points in a Qdrant collection

Input

ParameterTypeRequiredDescription
urlstringYesQdrant instance URL (e.g., https://your-cluster.qdrant.io)
apiKeystringNoQdrant API key for authentication
collectionstringYesCollection name for upsert (e.g., "my_collection")
pointsarrayYesArray of points to upsert

Output

ParameterTypeDescription
statusstringOperation status (ok, error)
dataobjectResult data from the upsert operation
↳ operation_idnumberOperation ID for async tracking
↳ statusstringOperation status (acknowledged, completed)

Qdrant Search Vector

Search for similar vectors in a Qdrant collection

Input

ParameterTypeRequiredDescription
urlstringYesQdrant instance URL (e.g., https://your-cluster.qdrant.io)
apiKeystringNoQdrant API key for authentication
collectionstringYesCollection name to search (e.g., "my_collection")
vectorarrayYesQuery vector for similarity search (e.g., [0.1, 0.2, 0.3, ...])
limitnumberNoMaximum number of results to return (e.g., 10)
filterobjectNoQdrant filter object (e.g., {"must": [{"key": "field", "match": {"value": "val"}}]})
search_return_datastringNoData to return from search
with_payloadbooleanNoInclude payload in response
with_vectorbooleanNoInclude vector in response

Output

ParameterTypeDescription
statusstringOperation status (ok, error)
dataarrayVector search results with ID, score, payload, and optional vector data
↳ idstringPoint ID (integer or UUID string)
↳ versionnumberPoint version number
↳ scorenumberSimilarity score
↳ payloadjsonPoint payload data (key-value pairs)
↳ vectorjsonPoint vector(s) - single array or named vectors object
↳ shard_keystringShard key for routing
↳ order_valuenumberOrder value for sorting

Qdrant Fetch Points

Fetch points by ID from a Qdrant collection

Input

ParameterTypeRequiredDescription
urlstringYesQdrant instance URL (e.g., https://your-cluster.qdrant.io)
apiKeystringNoQdrant API key for authentication
collectionstringYesCollection name to fetch from (e.g., "my_collection")
idsarrayYesArray of point IDs to fetch (e.g., ["id1", "id2"] or [1, 2])
fetch_return_datastringNoData to return from fetch
with_payloadbooleanNoInclude payload in response
with_vectorbooleanNoInclude vector in response

Output

ParameterTypeDescription
statusstringOperation status (ok, error)
dataarrayFetched points with ID, payload, and optional vector data
↳ idstringPoint ID (integer or UUID string)
↳ payloadjsonPoint payload data (key-value pairs)
↳ vectorjsonPoint vector(s) - single array or named vectors object
↳ shard_keystringShard key for routing
↳ order_valuenumberOrder value for sorting