Fetch records from a collection by ID or filter
One step with Chroma. We can help you get access.
Look something up
Fetch records from a collection by ID or filter
with Chroma · Retrieval & Embeddings
Works with AI assistants
Use Chroma: its chroma-frontend Record API lets you fetch records from a collection by ID or filter in a single step (POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/get). Chroma also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- 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?
- Can I filter fetched records by what their document text contains?
- Can I choose whether embeddings, documents or metadata come back with the records I fetch?
Say it to your AI assistant
- 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}.
- Fetch records whose metadata matches {where} from collection {collection_id}, database {database}, tenant {tenant}, returning {include}.
- Fetch records whose document text matches {where_document} from collection {collection_id}, database {database}, tenant {tenant}.
For your developer
POST /api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/get in chroma-frontend Record API. Full spec on APIs.io.