
Weaviate SchemaCreate
CertifiedCreate a Weaviate class schema
Weaviate SchemaCreate
Create a Weaviate class schema
Creates a new Weaviate class with the provided properties. Fails if the class already exists; data types must match Weaviate schema types.
type: io.kestra.plugin.weaviate.SchemaCreateExamples
Send schema creation request to a Weaviate database.
id: create_weaviate_schema
namespace: company.team
tasks:
- id: schema
type: io.kestra.plugin.weaviate.SchemaCreate
url: "https://demo-cluster-id.weaviate.network"
apiKey: "{{ secret('WEAVIATE_API_KEY') }}"
className: Movies
fields:
name:
- string
description:
- string
category:
- stringProperties
className *Requiredstring
1Class name where your data will be stored
url *Requiredstring
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.
fields object
Properties to add to the class
Map of property name to a list of Weaviate data types (e.g. string, int). All listed properties are created on the new class.
headers object
Set custom request headers
Key/value headers appended to every call, e.g. extra auth tokens for upstream services.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
success boolean
Whether the schema creation succeeded