ListTeamFlagsResponseBody
June 9, 2026 ยท View on GitHub
Example Usage
import { ListTeamFlagsResponseBody } from "@vercel/sdk/models/listteamflagsop.js";
let value: ListTeamFlagsResponseBody = {
data: [
{
variants: [
{},
],
id: "<id>",
environments: {
"key": {
pausedOutcome: {
type: "variant",
variantId: "<id>",
},
fallthrough: {
type: "split",
base: {
type: "entity",
kind: "<value>",
attribute: "<value>",
},
weights: {
"key": 167.7,
},
defaultVariantId: "<id>",
},
active: true,
rules: [
{
id: "<id>",
outcome: {
type: "rollout",
base: {
type: "entity",
kind: "<value>",
attribute: "<value>",
},
defaultVariantId: "<id>",
startTimestamp: 5347.28,
rollFromVariantId: "<id>",
rollToVariantId: "<id>",
slots: [],
},
conditions: [],
},
],
},
},
kind: "number",
revision: 3263.96,
seed: 432.41,
state: "active",
slug: "<value>",
createdAt: 9407.97,
updatedAt: 9157.74,
createdBy: "<value>",
ownerId: "<id>",
projectId: "<id>",
typeName: "flag",
},
],
pagination: {
next: "<value>",
},
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
data | models.Flag[] | :heavy_check_mark: | N/A |
pagination | models.ListTeamFlagsPagination | :heavy_check_mark: | N/A |