Qdrant provides flexible APIs for updating and deleting points, including operations on payloads, vectors, and entire points.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/qdrant/qdrant/llms.txt
Use this file to discover all available pages before exploring further.
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
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
Query Parameters
If
true, wait for the operation to complete. If false, return immediately after accepting the request.Ordering guarantees for the operation:
weak- No ordering guaranteesmedium- Operations ordered within a nodestrong- Operations ordered across all nodes
Operation timeout in seconds.
Response Format
All update and delete operations return a similar response:Sequential number of the operation.
Operation status:
completed or acknowledged (if wait=false).Overall response status.
Time taken in seconds.
Atomic Operations
All update and delete operations in Qdrant are atomic:- Single Operation
- Batch Operations
- Consistency
Each individual operation (set_payload, delete, etc.) is atomic. Either all specified points are updated or none are.
Best Practices
- Test Filters First: Before deleting by filter, run a search with the same filter to preview affected points
- Use Set Payload: Prefer
set_payloadoveroverwrite_payloadto avoid accidentally removing fields - Batch Updates: Group multiple updates into batch operations for better performance
- Wait Parameter: Use
wait=falsefor bulk operations to improve throughput - Named Vectors: When updating vectors in multi-vector collections, only update the vectors that changed
- Backup: Consider backing up important data before large delete operations
- 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.