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

# Count plan entitlements

`GET /plan-entitlements/count`

## Query parameters

- `feature_id` string — Filter plan entitlements by a single feature ID (starting with feat_)
- `feature_ids` string[] — Filter plan entitlements by multiple feature IDs (starting with feat_)
- `ids` string[] — Filter plan entitlements by multiple plan entitlement IDs (starting with pltl_)
- `plan_id` string — Filter plan entitlements by a single plan ID (starting with plan_)
- `plan_ids` string[] — Filter plan entitlements by multiple plan IDs (starting with plan_)
- `plan_version_id` string — Filter plan entitlements by a single plan version ID (starting with plvr_)
- `plan_version_ids` string[] — Filter plan entitlements by multiple plan version IDs (starting with plvr_)
- `q` string — Search for plan entitlements by feature or company name
- `with_metered_products` boolean — Filter plan entitlements only with metered products
- `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
    - `feature_id` string — Filter plan entitlements by a single feature ID (starting with feat_)
    - `feature_ids` string[] — Filter plan entitlements by multiple feature IDs (starting with feat_)
    - `ids` string[] — Filter plan entitlements by multiple plan entitlement IDs (starting with pltl_)
    - `limit` integer — Page limit (default 100)
    - `offset` integer — Page offset (default 0)
    - `plan_id` string — Filter plan entitlements by a single plan ID (starting with plan_)
    - `plan_ids` string[] — Filter plan entitlements by multiple plan IDs (starting with plan_)
    - `plan_version_id` string — Filter plan entitlements by a single plan version ID (starting with plvr_)
    - `plan_version_ids` string[] — Filter plan entitlements by multiple plan version IDs (starting with plvr_)
    - `q` string — Search for plan entitlements by feature or company name
    - `with_metered_products` boolean — Filter plan entitlements only with metered products

## 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/revisions/419cb5147b52/schema)
