---
title: "Count feature usage"
method: GET
path: "/feature-usage/count"
tags: ["entitlements"]
---

# Count feature usage

`GET /feature-usage/count`

## Query parameters

- `company_id` string
- `company_keys` object
- `feature_ids` string[]
- `include_usage_aggregation` boolean — Include time-bucketed usage aggregation (today, this week, this month, billing period) for credit-based entitlements. Defaults to false for performance.
- `managed_by` 'metronome' | 'orb' | 'schematic' | 'stripe'
- `q` string
- `without_negative_entitlements` boolean
- `limit` integer — Page limit (default 100)
- `offset` integer — Page offset (default 0)

## Response `200`

OK

- object
  - `data` CountResponse, required
    - `count` integer — The number of resources
  - `params` object, required — Input parameters
    - `company_id` string
    - `company_keys` object
    - `feature_ids` string[]
    - `include_usage_aggregation` boolean — Include time-bucketed usage aggregation (today, this week, this month, billing period) for credit-based entitlements. Defaults to false for performance.
    - `limit` integer — Page limit (default 100)
    - `managed_by` 'metronome' | 'orb' | 'schematic' | 'stripe'
    - `offset` integer — Page offset (default 0)
    - `q` string
    - `without_negative_entitlements` boolean

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Server error

---

[API](https://skmtc.net/schematichq/apis/schematic-api.md) · [All operations](https://skmtc.net/schematichq/apis/schematic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/schematichq/schematic-api/versions/873fb318b08a/schema)
