List attribute label counts
GET
/__remote/api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/labels/countsList label counts for configured entity attributes, including empty ones.
/__remote/api.vercel.com/v1/projects/{projectIdOrName}/feature-flags/labels/counts
const response = await fetch('/__remote/api.vercel.com/v1/projects/projectIdOrName/feature-flags/labels/counts?entityKind=string&limit=123&cursor=string&teamId=string&slug=string', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "data": [ { "attributeKey": "string", "entityKind": "string", "count": "123" } ], "pagination": { "next": "string" }}AuthorizationbearerToken
Default authentication mechanism