Chroma Collection API

The Collection API from Chroma — 7 operation(s) for collection.

GitHub OpenAPI
Business capability
Retrieval & Embeddings AE-110.60

Operations 10

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 /api/v2/collections/{crn} Look up a collection by CRN · Get collection by CRN #
Ask an LLM
“How do I resolve a Chroma Resource Name to a collection?”
“Can I look up a collection by its CRN?”
Tell an agent
Get the collection with CRN {crn}.
Resolve collection CRN {crn} to its resource.
GET /api/v2/tenants/{tenant}/databases/{database}/collections List collections in a database · List collections #
Ask an LLM
“Which collections exist in my Chroma database?”
“Can I page through all collections in a database?”
Tell an agent
List all collections in tenant {tenant}, database {database}.
Show {limit} collections from {offset} in {tenant}/{database}.
POST /api/v2/tenants/{tenant}/databases/{database}/collections Create a collection in a database · Create collection #
Ask an LLM
“How do I create a new collection in a Chroma database?”
“Can I set a schema and metadata when creating a collection?”
Tell an agent
Create a collection named {name} in {tenant}/{database}.
Create collection {name} in {tenant}/{database} with schema {schema}.
GET /api/v2/tenants/{tenant}/databases/{database}/collections/by-id/{collection_id} Look up a collection by UUID · Get collection by ID #
Ask an LLM
“How do I fetch a collection using its UUID?”
“Can I retrieve a collection by its ID within a tenant and database?”
Tell an agent
Get collection {collection_id} in {tenant}/{database}.
Fetch collection {collection_id} by UUID.
GET /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id} Get a vector collection · Get collection #
Ask an LLM
“How do I look up a Chroma collection by ID?”
“Can I get a collection's settings by name?”
Tell an agent
Get collection {collection_id} from tenant {tenant} database {database}.
Show the {collection_id} collection in {tenant}/{database}.
PUT /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id} Rename or update a collection's metadata · Update collection #
Ask an LLM
“How do I rename an existing collection?”
“Can I change a collection's metadata after it's created?”
Tell an agent
Rename collection {collection_id} in {tenant}/{database} to {new_name}.
Update the metadata of collection {collection_id} to {new_metadata}.
DELETE /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id} Delete a collection · Delete collection #
Ask an LLM
“How do I delete a collection from a database?”
“Can I remove a collection I no longer need?”
Tell an agent destructive · confirm first
Delete collection {collection_id} in {tenant}/{database}.
Remove collection {collection_id}.
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/fork Fork an existing collection · Fork collection #
Ask an LLM
“How do I create a fork of an existing collection?”
“Can I give a new name to a collection fork?”
Tell an agent
Fork collection {collection_id} in {tenant}/{database} as {new_name}.
Create a fork of collection {collection_id} named {new_name}.
GET /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/fork_count Count forks of a collection · Get fork count #
Ask an LLM
“How many forks exist for a given collection?”
“What is the fork count of a collection?”
Tell an agent
Count the forks of collection {collection_id} in {tenant}/{database}.
Show how many times collection {collection_id} has been forked.
GET /api/v2/tenants/{tenant}/databases/{database}/collections_count Count the collections in a database · Get number of collections #
Ask an LLM
“How many collections are in my Chroma database?”
“What is the total number of collections in a database?”
Tell an agent
Count the collections in {tenant}/{database}.
Tell me how many collections exist in {tenant}/{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-collection-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-collection-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: chroma-frontend Collection API
  description: ''
  license:
    name: ''
  version: 1.0.0
tags:


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