ListFlagsV2Request
June 19, 2026 ยท View on GitHub
Example Usage
import { ListFlagsV2Request } from "@vercel/sdk/models/listflagsv2op.js";
let value: ListFlagsV2Request = {
projectIdOrName: "<value>",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
projectIdOrName | string | :heavy_check_mark: | The project id or name | |
state | models.QueryParamState | :heavy_minus_sign: | The state of the flags to retrieve. Defaults to active. | |
limit | number | :heavy_minus_sign: | Maximum number of flags to return. | |
cursor | string | :heavy_minus_sign: | Pagination cursor to continue from. | |
search | string | :heavy_minus_sign: | Search flags by their slug or description. Case-insensitive. | |
tags | string[] | :heavy_minus_sign: | Filter flags by tag. Repeat the parameter for multiple tags (all must match). | |
createdBy | string | :heavy_minus_sign: | Filter flags by the id of the entity that created them (a user or team id). | |
maintainerIds | string[] | :heavy_minus_sign: | Filter flags by maintainer user id. Repeat the parameter for multiple maintainers (any may match). | |
includeMarketplaceFlags | boolean | :heavy_minus_sign: | Whether to include Marketplace experimentation items in the paginated response. Defaults to false. | |
teamId | string | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l |
slug | string | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug |