Weaviate Schema API

The schema API from Weaviate — 12 operation(s) for schema.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 22

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /schema Dump the full schema · Weaviate Get All Collection Definitions #
Ask an LLM
“What does my Weaviate schema look like right now?”
“Can I export every collection definition in one call?”
Tell an agent
Dump the whole schema.
Export every collection definition.
POST /schema Create a collection · Weaviate Create A New Collection #
Ask an LLM
“How do I define a new collection with its own vectorizer and properties?”
“Can I set sharding and replication when creating a collection?”
Tell an agent
Create a collection called {class}.
Create collection {class} with vectorizer {vectorizer} and properties {properties}.
GET /schema/{className} Get a collection's definition · Weaviate Get A Single Collection #
Ask an LLM
“What properties and vectorizer does a collection have?”
“Can I look up one collection's schema definition by name?”
Tell an agent
Get the definition of collection {className}.
Show the properties and vectorizer settings for {className}.
DELETE /schema/{className} Delete a collection and its data · Weaviate Delete A Collection (And All Associated Data) #
Ask an LLM
“Does deleting a collection also remove all the data stored in it?”
“How do I drop a collection I no longer need?”
Tell an agent destructive · confirm first
Delete collection {className} and all its data.
Drop the {className} collection permanently.
PUT /schema/{className} Update a collection's settings · Weaviate Update Collection Definition #
Ask an LLM
“How do I change the sharding or replication settings of an existing collection?”
“Can I rename a collection after it's created?”
Tell an agent
Update collection {className} with sharding config {shardingConfig}.
Rename collection {className} to {class}.
POST /schema/{className}/properties Add a property to a collection · Weaviate Add A Property To A Collection #
Ask an LLM
“How do I add a new property to an existing collection?”
“Can I make a property filterable or searchable when I add it?”
Tell an agent
Add property {name} of type {dataType} to collection {className}.
Add {name} to {className} with filterable set to {indexFilterable}.
DELETE /schema/{className}/properties/{propertyName}/index/{indexName} Delete a property's inverted index · Weaviate Delete A Property'S Inverted Index #
Ask an LLM
“How do I remove the inverted index from a property?”
“Can I delete just the range filter index of a property?”
Tell an agent destructive · confirm first
Delete the {indexName} inverted index of property {propertyName} in {className}.
Drop the {indexName} index from {propertyName} on {className}.
POST /schema/{className}/properties/{propertyName}/tokenize Tokenize text with a property's settings · Weaviate Tokenize Text Using A Property'S Configuration #
Ask an LLM
“How does a property tokenize text so I can test it?”
“Can I see what tokens a property would produce for a given text?”
Tell an agent
Tokenize {text} using the settings of property {propertyName} in {className}.
Show the tokens {text} would produce under {propertyName}'s configuration in {className}.
DELETE /schema/{className}/vectors/{vectorIndexName}/index Delete a collection's vector index · Weaviate Delete A Collection'S Vector Index #
Ask an LLM
“How do I remove a vector index from a collection?”
“Can I delete one named vector index without touching the others?”
Tell an agent destructive · confirm first
Delete vector index {vectorIndexName} from collection {className}.
Drop the {vectorIndexName} vector index on {className}.
GET /schema/{className}/shards Get a collection's shard status · Weaviate Get The Shards Status Of A Collection #
Ask an LLM
“Which shards of a collection are down or read-only?”
“Can I check the shard status of one tenant's shards?”
Tell an agent
Get the shard status of collection {className}.
Show shard status for tenant {tenant} in {className}.
PUT /schema/{className}/shards/{shardName} Set a shard's status · Weaviate Update A Shard Status #
Ask an LLM
“How do I mark a shard as ready again after fixing its issue?”
“Can I set a shard's status to read-only?”
Tell an agent
Set shard {shardName} of {className} to status {status}.
Mark {shardName} on {className} as {status}.
POST /schema/{className}/tenants Create tenants in a collection · Weaviate Create A New Tenant #
Ask an LLM
“How do I add new tenants to a multi-tenant collection?”
“Can I create several tenants at once?”
Tell an agent
Create new tenants in collection {className}.
Add tenants to {className} in one request.
PUT /schema/{className}/tenants Update a tenant's activity status · Weaviate Update A Tenant #
Ask an LLM
“How do I deactivate a tenant in a multi-tenant collection?”
“Can I reactivate an inactive tenant?”
Tell an agent
Update the activity status of tenants in {className}.
Reactivate the tenants of {className}.
DELETE /schema/{className}/tenants Delete tenants from a collection · Weaviate Delete Tenants #
Ask an LLM
“Does deleting tenants also remove their data?”
“How do I drop tenants from a collection?”
Tell an agent destructive · confirm first
Delete tenants from collection {className}.
Drop the tenants of {className} permanently.
GET /schema/{className}/tenants List a collection's tenants · Weaviate Get The List Of Tenants #
Ask an LLM
“Which tenants exist in a multi-tenant collection?”
“Can I list all tenants of a collection by its name?”
Tell an agent
List the tenants of collection {className}.
Show every tenant in {className}.
HEAD /schema/{className}/tenants/{tenantName} Check if a tenant exists · Weaviate Check If A Tenant Exists #
Ask an LLM
“How do I check whether a tenant already exists in a collection?”
“Can I confirm a tenant name before creating it?”
Tell an agent
Check whether tenant {tenantName} exists in {className}.
Confirm {tenantName} is a tenant of {className}.
GET /schema/{className}/tenants/{tenantName} Get a tenant's details · Weaviate Get A Specific Tenant #
Ask an LLM
“What is the current status of a specific tenant?”
“Can I look up one tenant's details by name?”
Tell an agent
Get tenant {tenantName} in collection {className}.
Show the status of {tenantName} in {className}.
GET /aliases List system aliases · Weaviate List Aliases #
Ask an LLM
“What aliases exist in my Weaviate instance?”
“Can I filter aliases to one collection?”
Tell an agent
List all aliases in the system.
List aliases for collection {class}.
POST /aliases Create an alias for a collection · Weaviate Create A New Alias #
Ask an LLM
“How do I create an alias so I can reference a collection by another name?”
“Can I point an alias at a specific collection?”
Tell an agent
Create alias {alias} pointing to collection {class}.
Add an alias {alias} for {class}.
GET /aliases/{aliasName} Get an alias's target collection · Weaviate Get An Alias #
Ask an LLM
“Which collection does a given alias point to?”
“Can I look up an alias by name?”
Tell an agent
Get alias {aliasName}.
Show which collection {aliasName} maps to.
PUT /aliases/{aliasName} Point an alias at a new class · Weaviate Update An Alias #
Ask an LLM
“How do I redirect an alias to a different collection?”
“Can I change which class an alias points to?”
Tell an agent
Point alias {alias} at class {class}.
Update alias {alias} to point to {class}.
DELETE /aliases/{aliasName} Delete an alias · Weaviate Delete An Alias #
Ask an LLM
“How do I remove an alias?”
“Does deleting an alias affect the class it pointed to?”
Tell an agent destructive · confirm first
Delete alias {alias}.
Remove the {alias} alias.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/weaviate:weaviate-schema-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

weaviate-schema-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Weaviate REST Schema API
  description: '# Introduction

    Weaviate is an open source, AI-native vector database that helps developers create intuitive and reliable AI-powered applications.'
  version: 1.38.0-dev
servers:
- url: http://localhost:8080
  description: Local Weaviate instance
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:


# --- truncated at 32 KB (58 KB total) ---
# Full source: https://artifacts.apis.io/weaviate/openapi/weaviate-schema-api-openapi.yml