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
Returns the number of records in a collection.
Tenant UUID
Database name
Collection UUID
Number of records in the collection
The response is of type integer<int32>.
integer<int32>
x >= 0
Was this page helpful?