Chroma Record API

The Record API from Chroma — 11 operation(s) for record.

GitHub OpenAPI
Business capability
Retrieval & Embeddings AE-110.60

Operations 11

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

POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/add Add records to a collection · Add records #
Ask an LLM
“How do I add new documents and embeddings to a collection?”
“Can I insert records into a collection by ID and embedding?”
Tell an agent
Add documents {documents} with embeddings {embeddings} to collection {collection_id} in database {database} for tenant {tenant}.
Insert records {ids} with embeddings {embeddings} into collection {collection_id} (tenant {tenant}, database {database}).
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/conditional/commit Commit buffered writes to a collection · Conditional commit #
Ask an LLM
“How do I commit buffered writes to a collection using its read token?”
“Can I append buffered operations to a collection only if the read set matches?”
Tell an agent
Commit buffered operations {operations} to collection {collection_id} in database {database} for tenant {tenant}.
Commit {operations} to collection {collection_id} using read token {read_token} (tenant {tenant}, database {database}).
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/conditional/get Get records with a read token · Conditional get #
Ask an LLM
“How do I read records from a collection and get its OCC read token?”
“Can I fetch a collection's records at a consistent snapshot?”
Tell an agent
Get records {ids} from collection {collection_id} in database {database} for tenant {tenant}.
Read collection {collection_id} at read token {read_token} (tenant {tenant}, database {database}).
GET /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/count Count records in a collection · Get number of records #
Ask an LLM
“How many records are in a collection?”
“Can I count a collection's records at a given consistency level?”
Tell an agent
Count the records in collection {collection_id} in database {database} for tenant {tenant}.
Count collection {collection_id} at read level {read_level} (tenant {tenant}, database {database}).
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/delete Delete records from a collection · Delete records #
Ask an LLM
“How do I delete records from a collection by ID?”
“Can I remove records matching a metadata filter?”
Tell an agent destructive · confirm first
Delete records {ids} from collection {collection_id} in database {database} for tenant {tenant}.
Remove records in collection {collection_id} matching {where} (tenant {tenant}, database {database}).
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/get Fetch records from a collection by ID or filter · Get records #
Ask an LLM
“How do I pull specific records out of a Chroma collection by their IDs or a metadata filter?”
“Can I page through a collection's records using a limit and offset?”
Tell an agent
Fetch the records with IDs {ids} from collection {collection_id}, database {database}, tenant {tenant}, without running a vector search.
List up to {limit} records starting at offset {offset} from collection {collection_id}, database {database}, tenant {tenant}.
GET /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/indexing_status Check a collection's indexing status · Get indexing status #
Ask an LLM
“Is a collection's index built yet?”
“What is the indexing status of a collection?”
Tell an agent
Get the indexing status of collection {collection_id} in database {database} for tenant {tenant}.
Check whether collection {collection_id} (tenant {tenant}, database {database}) is indexed.
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/query Query a collection with vector search · Query collection #
Ask an LLM
“How do I find records in a collection by vector embedding?”
“Can I limit vector search results to a number of results?”
Tell an agent
Query collection {collection_id} in database {database} for tenant {tenant} with embeddings {query_embeddings}.
Find {n_results} records in collection {collection_id} matching {query_embeddings} (tenant {tenant}, database {database}).
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/update Update records in a collection · Update records #
Ask an LLM
“How do I update existing records in a collection by ID?”
“Can I change the documents or embeddings of records already in a collection?”
Tell an agent
Update records {ids} in collection {collection_id} in database {database} for tenant {tenant}.
Replace documents {documents} of records {ids} in collection {collection_id} (tenant {tenant}, database {database}).
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/upsert Upsert records into a collection · Upsert records #
Ask an LLM
“How do I insert a record into a collection, or update it if it already exists?”
“Can I upsert records with embeddings by ID?”
Tell an agent
Upsert records {ids} with embeddings {embeddings} into collection {collection_id} in database {database} for tenant {tenant}.
Insert or update collection {collection_id} records {ids} with {embeddings} (tenant {tenant}, database {database}).

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/chroma:chroma-record-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

chroma-record-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: chroma-frontend Record API
  description: ''
  license:
    name: ''
  version: 1.0.0
tags:


# --- truncated at 32 KB (49 KB total) ---
# Full source: https://artifacts.apis.io/chroma/openapi/chroma-record-api-openapi.yml