Weaviate Delete

Weaviate Delete

Certified

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.

yaml
type: io.kestra.plugin.weaviate.Delete

Send delete request to a Weaviate database. Use object ID or other properties.

yaml
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
Min length1

Class name for which you want to delete data

Min length1

Configure 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

Provide managed cluster API key

Optional bearer-style key for hosted Weaviate; if omitted, requests use anonymous access.

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.

Set custom request headers

Key/value headers appended to every call, e.g. extra auth tokens for upstream services.

Object ID to delete

When set, deletes only this object and ignores any filter.

Reference (ref) of the pluginDefaults to apply to this task.

Class name where objects were deleted

Default0

Number of deleted objects

SubTypestring

IDs of deleted objects

Whether the delete operation succeeded