CreateFlagSegmentRules
March 13, 2026 ยท View on GitHub
Example Usage
import { CreateFlagSegmentRules } from "@vercel/sdk/models/createflagsegmentop.js";
let value: CreateFlagSegmentRules = {
id: "<id>",
conditions: [
{
lhs: {
type: "<value>",
kind: "<value>",
attribute: "<value>",
},
cmp: "lte",
},
],
outcome: {
type: "<value>",
},
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | :heavy_check_mark: | N/A |
conditions | models.CreateFlagSegmentConditions[] | :heavy_check_mark: | N/A |
outcome | models.CreateFlagSegmentOutcome | :heavy_check_mark: | N/A |