---
title: "Get number of collections"
method: GET
path: "/api/v2/tenants/{tenant}/databases/{database}/collections_count"
tags: ["Collection"]
---

# Get number of collections

`GET /api/v2/tenants/{tenant}/databases/{database}/collections_count`

Returns the total number of collections in a database.

## Path parameters

- `tenant` string, required
- `database` string, required

## Response `200`

Count of collections

- integer

## Other responses

- `401` — Unauthorized
- `500` — Server error

---

[API](https://skmtc.dev/trychroma/apis/chroma-frontend.md) · [All operations](https://skmtc.dev/trychroma/apis/chroma-frontend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trychroma/chroma-frontend/revisions/9b96550f70f6/schema)
