
Weaviate BatchCreate
CertifiedBatch insert Weaviate objects
Weaviate BatchCreate
Batch insert Weaviate objects
Loads multiple objects into a class from a Kestra ION file or an inline list. Each object gets a generated UUID. If the class is missing, Weaviate auto-schema (if enabled) will create it; otherwise the call fails.
type: io.kestra.plugin.weaviate.BatchCreateExamples
Send batch object creation request to a Weaviate database.
id: weaviate_batch_load
namespace: company.team
tasks:
- id: batch_load
type: io.kestra.plugin.weaviate.BatchCreate
url: "https://demo-cluster-id.weaviate.network"
apiKey: "{{ secret('WEAVIATE_API_KEY') }}"
className: WeaviateDemo
objects:
- textField: "some text"
numField: 24
- textField: "another text"
numField: 42
Send batch object creation request to a Weaviate database using an ION input file e.g. passed from output of another task.
id: weaviate_batch_insert
namespace: company.team
tasks:
- id: extract
type: io.kestra.plugin.core.http.Download
uri: https://huggingface.co/datasets/kestra/datasets/raw/main/ion/ingest.ion
- id: batch_insert
type: io.kestra.plugin.weaviate.BatchCreate
url: "https://demo-cluster-id.weaviate.network"
apiKey: "{{ secret('WEAVIATE_API_KEY') }}"
className: Titles
objects: "{{ outputs.extract.uri }}"
Properties
objects *stringarray
Objects to insert with properties
Either a Kestra storage URI to an ION array or an inline list of maps. Each entry becomes one Weaviate object.
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
{}1150className string
Class name where you want to insert data
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.