cURL
curl --request GET \ --url https://api.trychroma.com/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/count \ --header 'x-chroma-token: <api-key>'
1
Tenant ID for the collection
Database containing this collection
Collection ID whose records are counted
Number of records in the collection
The response is of type integer<int32>.
integer<int32>
x >= 0