---
title: "Count"
method: GET
path: "/public/api/course-categories/count?where={where}"
tags: ["Course Categories"]
---

# Count

`GET /public/api/course-categories/count?where={where}`

## Request

- Base URL: `https://<base_url>`
- URL: `https://<base_url>/public/api/course-categories/count?where={where}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/yoobic/apis/yoobic-public-api/docs/public/api/course-categories/count%3Fwhere=:where/get.ts> (a function with typed inputs; its response is checked against the schema)

Count all the existing entities based on the where filter

## Query parameters

- `where` string

## Headers

- `Accept` string

## Request body

- object
  - `Authorization` DefaultHeader
    - `Authorization` string, required

## Response `200`

OK

- object
  - `count` number

---

[API](https://skmtc.dev/yoobic/apis/yoobic-public-api.md) - [All operations](https://skmtc.dev/yoobic/apis/yoobic-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/yoobic/apis/yoobic-public-api/revisions/260693f291a3?raw)
