---
title: "List attribute label counts"
method: GET
path: "/v1/projects/{projectIdOrName}/feature-flags/labels/counts"
tags: ["feature-flags"]
---

# List attribute label counts

`GET /v1/projects/{projectIdOrName}/feature-flags/labels/counts`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/labels/counts`
- Auth: HTTP bearer

List label counts for configured entity attributes, including empty ones.

## Path parameters

- `projectIdOrName` string, required

## Query parameters

- `entityKind` string
- `limit` integer
- `cursor` string: The continuation cursor from the previous response.
- `teamId` string
- `slug` string

## Response `200`

- object
  - `data` object[], required
    - `attributeKey` string, required
    - `entityKind` string, required
    - `count` number, required
  - `pagination` object, required
    - `next` string, nullable, required

## Other responses

- `400`: One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `402`: The account is missing a payment so payment method must be updated
- `403`: You do not have permission to access this resource.
- `404`
- `410`

## Changes

- **2026-10-21** `6e2413f2ee97`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/api/changes/v1/projects/:projectIdOrName/feature-flags/labels/counts/get.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) - [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/api/revisions/4a06e85c2848?raw)
