younifyd
Menu

Query points

Query points

POST/collections/{collection_name}/points/query

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Query points action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{queryPoints.response.data}}.

Request

Path parameters

collection_namestringrequired

Name of the collection to query

Query parameters

consistencyoneOf

Define read consistency guarantees for the operation

timeoutinteger

If set, overrides global timeout for this request. Unit is seconds.

Request body

Enter the body as JSON in the step's Body field.

shard_keyoneOf
prefetchoneOf

Sub-requests to perform first. If present, the query will be performed on the results of the prefetch(es).

Default null

queryoneOf

Query to perform. If missing without prefetches, returns points ordered by their IDs.

usingstring

Define which vector name to use for querying. If missing, the default vector is used. For a `text` query, the payload field whose text index to search.

filteroneOf

Filter conditions - return only those points that satisfy the specified conditions.

paramsoneOf

Search params for when there is no prefetch

score_thresholdnumber (float)

Return points with scores better than this threshold.

limitinteger (uint)

Max number of points to return. Default is 10.

offsetinteger (uint)

Offset of the result. Skip this many points. Default is 0

with_vectoroneOf

Options for specifying which vectors to include into the response. Default is false.

with_payloadoneOf

Options for specifying which payload to include or not. Default is false.

lookup_fromoneOf

The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector Note: the other collection vectors should have the same vector size as the 'using' vector in the current collection

Default null

json
{
  "shard_key": null,
  "prefetch": null,
  "query": null,
  "using": "string",
  "filter": null,
  "params": null,
  "score_threshold": 0,
  "limit": 0,
  "offset": 0,
  "with_vector": null,
  "with_payload": null,
  "lookup_from": null
}

Response

Returns 200 with an object. Read it in later steps with {{queryPoints.response.data.<field>}}.

usageoneOf

Default null

timenumber (float)

Time spent to process this request

statusstring
resultobject
pointsarray<object>required7 fields
json
{
  "usage": null,
  "time": 0.002,
  "status": "ok",
  "result": {
    "points": [
      {
        "id": null,
        "version": 3,
        "score": 0.75,
        "payload": null,
        "vector": null,
        "shard_key": null,
        "order_value": null
      }
    ]
  }
}

Need more? See the Qdrant guide for connection setup and behaviour shared by every action.