Skip to main content
GET
/
api
/
v2
/
tenants
/
{tenant}
/
databases
/
{database}
/
collections
/
{collection_id}
/
count
Python
count = collection.count()
1

Authorizations

x-chroma-token
string
header
required

Path Parameters

tenant
string
required

Tenant UUID

database
string
required

Database name

collection_id
string
required

Collection UUID

Query Parameters

read_level
enum<string>

Read level for consistency vs performance tradeoffs

Available options:
index_and_wal,
index_only

Response

Number of records in the collection

The response is of type integer<int32>.

Required range: x >= 0