This reference documents the data structures used by the Feature Management API.
Flag
Represents a feature flag definition.
| Field | Type | Description |
|---|---|---|
|
string |
Unique identifier |
|
string |
Flag name with namespace (e.g., |
|
string |
Human-readable description |
|
enum |
Type: |
|
array |
Available values for String/Number flags |
|
array |
Labels for organization and filtering |
|
boolean |
Whether the flag is permanent (cannot be deleted) |
|
string |
URL to the CasC file in SCM (if managed via CasC) |
|
datetime |
Creation timestamp |
|
datetime |
Last update timestamp |
|
array |
Configuration state per environment |
FlagConfiguration
Represents a flag’s configuration in a specific environment.
| Field | Type | Description |
|---|---|---|
|
boolean |
Whether the flag is enabled in this environment |
|
any |
Default value when no conditions match |
|
array |
Array of targeting conditions |
|
string |
Seed for percentage-based randomization |
|
string |
Property for consistent percentage-based evaluation |
|
boolean |
Whether multiple variants are enabled |
|
string |
Associated resource ID |
|
string |
URL to CasC file |
|
datetime |
Creation timestamp |
|
datetime |
Last update timestamp |
FlagConfigurationState
Represents the enabled state of a flag in an environment.
| Field | Type | Description |
|---|---|---|
|
string |
Environment identifier |
|
boolean |
Whether the flag is enabled |
|
datetime |
Last update timestamp |
TargetGroup
Represents a target group definition.
| Field | Type | Description |
|---|---|---|
|
string |
Unique identifier |
|
string |
Target group name |
|
string |
Human-readable description |
|
object |
Targeting conditions |
|
string |
Associated resource ID |
|
string |
URL to CasC file |
CustomProperty
Represents a custom property definition.
| Field | Type | Description |
|---|---|---|
|
string |
Unique identifier |
|
string |
Property name |
|
enum |
Data type: |
|
string |
Human-readable description |
|
string |
Associated resource ID |
|
string |
URL to CasC file |
Operators
Error Response
Standard error response format.
| Field | Type | Description |
|---|---|---|
|
integer |
gRPC status code |
|
string |
Human-readable error message |
|
array |
Additional error details |
List Response Pattern
All list endpoints return paginated responses:
| Field | Type | Description |
|---|---|---|
|
array |
Array of items (flags, targetGroups, etc.) |
|
string |
Token for fetching the next page (empty if no more pages) |
|
integer |
Total number of items (if supported) |