cURL
curl --request GET \ --url https://api.trychroma.com/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id} \ --header 'x-chroma-token: <api-key>'
{ "configuration_json": { "embedding_function": "<unknown>", "hnsw": "<unknown>", "spann": "<unknown>" }, "database": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "log_position": 123, "name": "<string>", "tenant": "<string>", "version": 123, "dimension": 123, "metadata": "<unknown>", "schema": "<unknown>" }
Returns a collection by ID or name.
Tenant UUID
Database name
Collection UUID
Collection found
Show child attributes
Schema representation for collection index configurations
This represents the server-side schema structure used for index management
Was this page helpful?