
Weaviate Delete
CertifiedDelete objects from a Weaviate class
Weaviate Delete
Delete objects from a Weaviate class
Deletes a single object by ID or multiple objects with an AND filter. If no filter is provided, all objects in the class are deleted, so use cautiously.
type: io.kestra.plugin.weaviate.DeleteExamples
Send delete request to a Weaviate database. Use object ID or other properties.
id: weaviate_delete_flow
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.weaviate.Delete
url: https://demo-cluster-id.weaviate.network
className: WeaviateObject
# safest: delete a single known object
objectId: "{{ outputs.previous.id }}"
# alternative: delete by AND filter on fields
# filter:
# status: archived
Properties
className *string
1Class name for which you want to delete data
url *string
1Configure Weaviate endpoint URL
Full http or https host for the Weaviate cluster, including port when not default. Example: localhost: 8080 or https://cluster-id.weaviate.network
apiKey string
Provide managed cluster API key
Optional bearer-style key for hosted Weaviate; if omitted, requests use anonymous access.
assets
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.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset 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.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150filter object
Filter attributes for deletion
Map of field name to value combined with AND; if omitted, a catch-all filter removes every object in the class.
headers object
Set custom request headers
Key/value headers appended to every call, e.g. extra auth tokens for upstream services. The plugin also sends an X-Weaviate-Client-Integration header identifying itself; setting that key here overrides it.
objectId string
Object ID to delete
When set, deletes only this object and ignores any filter.
Outputs
className string
Class name where objects were deleted
deletedCount integer
0Number of deleted objects
ids array
IDs of deleted objects
success boolean
Whether the delete operation succeeded