Skip to main content
Qdrant provides flexible APIs for updating and deleting points, including operations on payloads, vectors, and entire points.

Update Payloads

Update or add payload fields to existing points without modifying vectors.

Set Payload (Merge)

Add or update specific payload fields while keeping existing fields.

API Endpoint

Set Payload with Filter

Update payload for all points matching a filter.

Overwrite Payload

Replace the entire payload, removing all existing fields.

API Endpoint

overwrite_payload removes all existing payload fields. Use set_payload to merge fields instead.

Delete Payload Fields

Remove specific payload fields from points.

API Endpoint

Delete Nested Fields

Use dot notation to delete nested payload fields.

Clear All Payload

Remove all payload from specified points, keeping vectors intact.

API Endpoint

Update Vectors

Update vectors for existing points without changing payloads.

API Endpoint

Update Named Vectors

For collections with multiple named vectors, update specific vectors.
When updating named vectors, you only need to specify the vectors you want to update. Other vectors remain unchanged.

Delete Vectors

Delete specific named vectors from points while keeping other vectors and payloads.

API Endpoint

Delete Points by ID

Delete entire points (vectors and payloads) by their IDs.

API Endpoint

Delete Points by Filter

Delete all points matching specific filter conditions.

Complex Delete Filters

Delete by filter can affect many points. Always test your filter with a search query first to verify which points will be deleted.

Query Parameters

boolean
default:"true"
If true, wait for the operation to complete. If false, return immediately after accepting the request.
string
Ordering guarantees for the operation:
  • weak - No ordering guarantees
  • medium - Operations ordered within a node
  • strong - Operations ordered across all nodes
integer
Operation timeout in seconds.

Response Format

All update and delete operations return a similar response:
integer
Sequential number of the operation.
string
Operation status: completed or acknowledged (if wait=false).
string
Overall response status.
number
Time taken in seconds.

Atomic Operations

All update and delete operations in Qdrant are atomic:
Each individual operation (set_payload, delete, etc.) is atomic. Either all specified points are updated or none are.

Best Practices

  1. Test Filters First: Before deleting by filter, run a search with the same filter to preview affected points
  2. Use Set Payload: Prefer set_payload over overwrite_payload to avoid accidentally removing fields
  3. Batch Updates: Group multiple updates into batch operations for better performance
  4. Wait Parameter: Use wait=false for bulk operations to improve throughput
  5. Named Vectors: When updating vectors in multi-vector collections, only update the vectors that changed
  6. Backup: Consider backing up important data before large delete operations
  7. Point IDs: Keep track of point IDs when performing updates to ensure you’re modifying the correct points
Update operations modify points in-place without creating new versions. The point’s version number is incremented with each update.