Weaviate
App · 16 actions
Manage Weaviate collections, tenants and objects and run GraphQL queries.
Actions
| Action | What it does |
|---|---|
| Add a collection property | Add a collection property. |
| Create a collection | Create a collection. |
| Create an object | Create an object. |
| Delete a collection | Delete a collection. |
| Delete an object | Delete an object. |
| Get a collection | Get a collection. |
| Get a collection tenant | Get a collection tenant. |
| Get an object | Get an object. |
| Get cluster metadata | Get cluster metadata. |
| List collection shards | List collection shards. |
| List collection tenants | List collection tenants. |
| List collections | List collections. |
| List objects | List objects. |
| Run a GraphQL query | Run a GraphQL query. |
| Update object properties | Update object properties. |
| Validate an object | Validate an object. |
Add a collection property
Add a collection property.
Inputs
- Collection
collectiontextRequired - Collection.
- Name
nametextRequired - Name.
- Data types
data_typeslistRequired - Data types.One or more of:
text,text[],int,int[],number,number[],boolean,boolean[],date,date[], and 7 more.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"dataType": [
"example"
],
"name": "example"
}
}Create a collection
Create a collection.
Inputs
- Collection
collectiontextRequired - Collection.
- Description
descriptiontext - Description.
- Properties
propertieslist - Properties.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"class": "example",
"description": "example",
"properties": [
{
"dataType": [
"example"
],
"name": "example"
}
]
}
}Create an object
Create an object.
Inputs
- Collection
collectiontextRequired - Collection.
- Properties
propertiesobjectRequired - Properties.
- Object ID
object_idtext - Object ID.
- Tenant
tenanttext - Tenant.
- Vector
vectorlist - Vector.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"class": "example",
"creationTimeUnix": 1,
"id": "example",
"lastUpdateTimeUnix": 1,
"properties": {},
"tenant": "example"
}
}Delete a collection
Delete a collection.
Inputs
- Collection
collectiontextRequired - Collection.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {}
}Delete an object
Delete an object.
Inputs
- Collection
collectiontextRequired - Collection.
- Object ID
object_idtextRequired - Object ID.
- Tenant
tenanttext - Tenant.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {}
}Get a collection
Get a collection.
Inputs
- Collection
collectiontextRequired - Collection.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"class": "example",
"description": "example",
"properties": [
{
"dataType": [
"example"
],
"name": "example"
}
]
}
}Get a collection tenant
Get a collection tenant.
Inputs
- Collection
collectiontextRequired - Collection.
- Tenant
tenanttextRequired - Tenant.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"activityStatus": "example",
"name": "example"
}
}Get an object
Get an object.
Inputs
- Collection
collectiontextRequired - Collection.
- Object ID
object_idtextRequired - Object ID.
- Tenant
tenanttext - Tenant.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"class": "example",
"creationTimeUnix": 1,
"id": "example",
"lastUpdateTimeUnix": 1,
"properties": {},
"tenant": "example"
}
}Get cluster metadata
Get cluster metadata.
Inputs
None.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"hostname": "example",
"modules": {},
"version": "example"
}
}List collection shards
List collection shards.
Inputs
- Collection
collectiontextRequired - Collection.
Outputs
datalist- The response from Weaviate.
Example output
{
"data": [
{
"name": "example",
"status": "example"
}
]
}List collection tenants
List collection tenants.
Inputs
- Collection
collectiontextRequired - Collection.
Outputs
datalist- The response from Weaviate.
Example output
{
"data": [
{
"activityStatus": "example",
"name": "example"
}
]
}List collections
List collections.
Inputs
None.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"classes": [
{
"class": "example",
"description": "example",
"properties": [
{
"dataType": [
"example"
],
"name": "example"
}
]
}
]
}
}List objects
List objects.
Inputs
- Collection
collectiontext - Collection.
- Tenant
tenanttext - Tenant.
- Limit
limitnumber - Limit.From 1 to 1000.
- After
aftertext - After.
- Offset
offsetnumber - Offset.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"objects": [
{
"class": "example",
"creationTimeUnix": 1,
"id": "example",
"lastUpdateTimeUnix": 1,
"properties": {},
"tenant": "example"
}
],
"totalResults": 1
}
}Run a GraphQL query
Run a GraphQL query.
Inputs
- Query
querytextRequired - Query.
- Variables
variablesobject - Variables.
- Operation name
operation_nametext - Operation name.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {
"data": {}
}
}Update object properties
Update object properties.
Inputs
- Collection
collectiontextRequired - Collection.
- Object ID
object_idtextRequired - Object ID.
- Properties
propertiesobjectRequired - Properties.
- Tenant
tenanttext - Tenant.
- Vector
vectorlist - Vector.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {}
}Validate an object
Validate an object.
Inputs
- Collection
collectiontextRequired - Collection.
- Properties
propertiesobjectRequired - Properties.
- Tenant
tenanttext - Tenant.
Outputs
dataobject- The response from Weaviate.
Example output
{
"data": {}
}