cURL
curl --request GET \ --url https://api.trychroma.com/api/v2/tenants/{tenant}/databases/{database}/collections_count \ --header 'x-chroma-token: <api-key>'
1
Tenant ID
Database name to count collections from
Count of collections
The response is of type integer<int32>.
integer<int32>
x >= 0