Weaviate Objects API

The objects API from Weaviate — 7 operation(s) for objects.

GitHub OpenAPI
Business capability
Retrieval & Embeddings AE-110.60

Operations 21

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 /objects List data objects in a collection · Weaviate List Objects #
Ask an LLM
“How do I list all the objects stored in a Weaviate collection?”
“Can I sort and page through a collection's objects?”
Tell an agent
List the objects in collection {class}.
Show {limit} objects from {class} sorted by {sort}.
POST /objects Create a data object in a collection · Weaviate Create An Object #
Ask an LLM
“How do I add a new record to a Weaviate collection as a single object?”
“Can I supply my own vector when creating an object?”
Tell an agent
Create a {class} object with properties {properties}.
Add a new object with UUID {id} to {class} using my own vector {vector}.
DELETE /objects/{id} Delete an object by UUID (legacy) · Weaviate Delete An Object #
Ask an LLM
“Is there a deprecated endpoint that deletes an object by UUID?”
“Can I remove an object through the legacy object endpoint?”
Tell an agent destructive · confirm first
Delete the object with UUID {id} using the legacy object endpoint.
Remove object {id} from the deprecated object endpoint.
GET /objects/{id} Get an object by UUID (legacy) · Weaviate Get An Object #
Ask an LLM
“Is there a deprecated endpoint that fetches an object by its UUID without the class name?”
“Can I read an object through the legacy object endpoint?”
Tell an agent
Get the object with UUID {id} using the legacy object endpoint.
Fetch object {id} from the deprecated object endpoint.
PATCH /objects/{id} Patch an object by UUID (legacy) · Weaviate Patch An Object #
Ask an LLM
“Is there a deprecated endpoint that patches an object by UUID?”
“Can I partially update an object through the legacy object endpoint?”
Tell an agent
Patch the object with UUID {id} using the legacy object endpoint.
Apply a partial update to object {id} through the deprecated object endpoint.
PUT /objects/{id} Replace an object by UUID (legacy) · Weaviate Update An Object #
Ask an LLM
“Is there a deprecated endpoint that overwrites an object's properties by UUID?”
“Can I replace an object through the legacy object endpoint?”
Tell an agent
Replace the object with UUID {id} using the legacy object endpoint.
Overwrite object {id} through the deprecated object endpoint.
HEAD /objects/{id} Check an object exists by UUID (legacy) · Weaviate Check If An Object Exists #
Ask an LLM
“Is there a deprecated endpoint that checks an object exists by UUID?”
“Can I confirm an object's existence through the legacy object endpoint?”
Tell an agent
Check whether the object with UUID {id} exists using the legacy object endpoint.
Confirm object {id} is present in the deprecated object endpoint.
GET /objects/{className}/{id} Get an object by collection and UUID · Weaviate Get An Object #
Ask an LLM
“How do I fetch an object when I know both its collection and UUID?”
“Can I read an object from a specific class by its ID?”
Tell an agent
Get object {id} from collection {className}.
Fetch the {className} object with UUID {id}.
DELETE /objects/{className}/{id} Delete an object from a collection · Weaviate Delete An Object #
Ask an LLM
“Can I remove an object from a multi-tenant collection by its UUID?”
“Why would a delete fail if the object already exists?”
Tell an agent destructive · confirm first
Delete object {id} from {className}.
Remove the {className} object {id} in tenant {tenant}.
PUT /objects/{className}/{id} Replace an object by collection and UUID · Weaviate Replace An Object #
Ask an LLM
“How do I overwrite an object's properties when I know its collection and UUID?”
“Can I replace an object in a specific class by ID?”
Tell an agent
Replace object {id} in collection {className} with properties {properties}.
Overwrite the {className} object {id} with vector {vector}.
PATCH /objects/{className}/{id} Patch an object by collection and UUID · Weaviate Patch An Object #
Ask an LLM
“How do I partially update an object when I know its collection and UUID?”
“Can I patch an object in a specific class by ID?”
Tell an agent
Patch object {id} in collection {className} with properties {properties}.
Apply a partial update to the {className} object {id}.
HEAD /objects/{className}/{id} Check an object exists by collection and UUID · Weaviate Check If An Object Exists #
Ask an LLM
“How do I check an object exists when I know both its collection and UUID?”
“Can I confirm an object's existence in a specific class by ID?”
Tell an agent
Check whether object {id} exists in collection {className}.
Confirm the {className} object with UUID {id} is present.
POST /objects/{id}/references/{propertyName} Add a reference to an object (legacy) · Weaviate Add An Object Reference #
Ask an LLM
“Is there a deprecated endpoint that adds a reference to an object?”
“Can I add a single reference to an object through the legacy endpoint?”
Tell an agent
Add a reference to property {propertyName} on object {id} using the legacy endpoint.
Add a reference to object {id} on property {propertyName} through the deprecated endpoint.
PUT /objects/{id}/references/{propertyName} Replace cross-reference values (deprecated) · Weaviate Replace Object References #
Ask an LLM
“Is the deprecated endpoint still available for replacing object references by property name?”
“What did the old reference update call return before it was deprecated?”
Tell an agent
Replace references on property {propertyName} of object {id} using the deprecated call.
Use the older endpoint to set cross-reference {propertyName} on {id}.
DELETE /objects/{id}/references/{propertyName} Delete a reference from an object (legacy) · Weaviate Delete An Object Reference #
Ask an LLM
“Is there a deprecated endpoint that removes a single reference from an object?”
“Can I delete one reference from an object through the legacy endpoint?”
Tell an agent destructive · confirm first
Delete a reference from property {propertyName} on object {id} using the legacy endpoint.
Remove one reference from object {id} on property {propertyName} through the deprecated endpoint.
POST /objects/{className}/{id}/references/{propertyName} Add a reference to an object · Weaviate Add An Object Reference #
Ask an LLM
“How do I add a reference to a property on an object in a collection?”
“Can I add a single reference to an object by collection and UUID?”
Tell an agent
Add a reference to property {propertyName} on object {id} in collection {className}.
Add a reference to the {className} object {id} on property {propertyName}.
PUT /objects/{className}/{id}/references/{propertyName} Replace an object's references · Weaviate Replace Object References #
Ask an LLM
“How do I replace every reference on a property of a data object?”
“Can I set the new cross-reference values for an object in a multi-tenant collection?”
Tell an agent
Replace references on property {propertyName} of {className} object {id}.
Set new cross-reference {propertyName} for {className} object {id} in tenant {tenant}.
DELETE /objects/{className}/{id}/references/{propertyName} Delete a reference from an object · Weaviate Delete An Object Reference #
Ask an LLM
“How do I remove a specific reference from an object in a collection?”
“Can I delete one reference from an object by collection and UUID?”
Tell an agent destructive · confirm first
Delete a reference from property {propertyName} on object {id} in collection {className}.
Remove one reference from the {className} object {id} on property {propertyName}.
POST /objects/validate Validate an object without storing it · Weaviate Validate An Object #
Ask an LLM
“How do I check an object's structure conforms to a collection's schema before saving it?”
“Can I validate an object's properties without storing it?”
Tell an agent
Validate an object with properties {properties} against collection {class}.
Check that object {properties} would pass schema validation for {class}.
POST /batch/objects Create many objects in one request · Weaviate Create Objects In Batch #
Ask an LLM
“How do I import a large batch of objects in a single request?”
“Can I register multiple objects at once for efficiency?”
Tell an agent
Create these objects in one batch request: {objects}.
Register {objects} in a single batch import.
DELETE /batch/objects Delete objects matching a filter · Weaviate Delete Objects In Batch #
Ask an LLM
“How do I delete many objects that match a filter in one batch?”
“Is there a limit on how many objects a batch delete can remove?”
Tell an agent destructive · confirm first
Delete all objects matching {match}.
Run a dry-run batch delete for {match} and return the matched objects.

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-objects-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-objects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Weaviate REST Objects 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 (65 KB total) ---
# Full source: https://artifacts.apis.io/weaviate/openapi/weaviate-objects-api-openapi.yml