Qdrant Upsert

Qdrant Upsert

Certified

Upsert points into a Qdrant collection

Inserts or updates points in a Qdrant collection in configurable batch sizes. Reads from inline lists or Kestra storage URIs.

yaml
type: io.kestra.plugin.qdrant.Upsert

Upsert points with vectors and payloads into a Qdrant collection

yaml
id: qdrant_upsert
namespace: company.team

tasks:
  - id: upsert_points
    type: io.kestra.plugin.qdrant.Upsert
    host: "{{ secret('QDRANT_HOST') }}"
    apiKey: "{{ secret('QDRANT_API_KEY') }}"
    tlsEnabled: true
    collectionName: docs
    batchSize: 100
    points:
      - id: 1
        vector: [0.05, 0.61, 0.76, 0.74]
        payload:
          city: Berlin
          country: Germany
      - id: 2
        vector: [0.19, 0.81, 0.75, 0.11]
        payload:
          city: Paris
          country: France

Upsert points that carry a named dense vector and a named sparse vector, for hybrid retrieval

yaml
id: qdrant_upsert_hybrid
namespace: company.team

tasks:
  - id: upsert_points
    type: io.kestra.plugin.qdrant.Upsert
    host: "{{ secret('QDRANT_HOST') }}"
    apiKey: "{{ secret('QDRANT_API_KEY') }}"
    tlsEnabled: true
    collectionName: docs
    points:
      - id: 1
        vectors:
          text_dense: [0.05, 0.61, 0.76, 0.74]
          text_sparse:
            indices: [12, 104, 982]
            values: [0.84, 1.23, 0.41]
        payload:
          title: Invoice 2026-0042
Installation

Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:

kestractl plugins get io.kestra.plugin:plugin-qdrant --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.

Properties

Collection name

The name of the collection to upsert points into.

The host of the Qdrant instance

The hostname or IP address of the Qdrant gRPC endpoint.

Points to upsert

Points data source, either an inline list of maps or a Kestra storage URI to an ION file. Each point must include a vector (dense 'vector' list or named 'vectors' map) and optionally an 'id' and 'payload' map. In a named 'vectors' map, a dense vector is a list of numbers and a sparse vector is a map with equally long 'indices' and 'values' lists.

API key

The API key for authentication with Qdrant.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
Default100

Batch size

The number of points to send in each upsert batch request (default: 100, min: 1, max: 1000).

Default6334

The port of the Qdrant instance

The gRPC port of the Qdrant instance (default 6334).

Defaultfalse

Enable TLS

Whether to use TLS/SSL for secure gRPC connection.

Default0

Number of upserted points

The total count of points successfully upserted into the collection.