Files
landing_page/qdrant-landing/content/documentation/headless/snippets/query-groups/with-lookup/http.md
T
2026-05-19 19:08:36 -04:00

687 B

POST /collections/chunks/points/query/groups
{
    // Same as in the regular query API
    "query": [0.2, 0.1, 0.9, 0.7],

    // Grouping parameters
    "group_by": "document_id",
    "limit": 2,
    "group_size": 2,

    // Lookup parameters
    "with_lookup": {
        // Name of the collection to look up points in
        "collection": "documents",

        // Options for specifying what to bring from the payload 
        // of the looked up point, true by default
        "with_payload": ["title", "text"],

        // Options for specifying what to bring from the vector(s) 
        // of the looked up point, false by default
        "with_vectors": false
    }
}