---
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

## Changes

- **2026-07-15** `3baa54bf8b3f` — 2 warning
  - for the `query` request parameter `limit`, the max was set to `250.00`
  - for the `query` request parameter `limit`, the min was set to `0.00`
- **2026-06-05** `c0d7b479cd11` — 1 warning, 1 info
  - added the new `metronome` enum value to the `params/managed_by/allOf[#/components/schemas/BillingProviderType]/` response property for the response status `200`
  - added the enum value `metronome` to the property `allOf[#/components/schemas/BillingProviderType]/` of the `query` request parameter `managed_by`

[Change history](https://skmtc.dev/schematichq/apis/schematic-api/changes/feature-usage/count/get.md)

---

[API](https://skmtc.dev/schematichq/apis/schematic-api.md) · [All operations](https://skmtc.dev/schematichq/apis/schematic-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/schematichq/schematic-api/revisions/0b238e148fa1/schema)
