PostHog · Schema
MinimalFeatureFlag
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| team_id | integer | |
| name | string | |
| key | string | |
| filters | object | |
| deleted | boolean | |
| active | boolean | |
| ensure_experience_continuity | boolean | |
| has_encrypted_payloads | boolean | |
| version | integer | |
| evaluation_runtime | object | Specifies where this feature flag should be evaluated * `server` - Server * `client` - Client * `all` - All |
| bucketing_identifier | object | Identifier used for bucketing users into rollout and variants * `distinct_id` - User ID (default) * `device_id` - Device ID |
| evaluation_contexts | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MinimalFeatureFlag",
"title": "MinimalFeatureFlag",
"type": "object",
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"team_id": {
"type": "integer",
"readOnly": true
},
"name": {
"type": "string"
},
"key": {
"type": "string",
"maxLength": 400
},
"filters": {
"type": "object",
"additionalProperties": true
},
"deleted": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
"ensure_experience_continuity": {
"type": "boolean",
"nullable": true
},
"has_encrypted_payloads": {
"type": "boolean",
"nullable": true
},
"version": {
"type": "integer",
"maximum": 2147483647,
"minimum": -2147483648,
"nullable": true
},
"evaluation_runtime": {
"nullable": true,
"description": "Specifies where this feature flag should be evaluated\n\n* `server` - Server\n* `client` - Client\n* `all` - All",
"oneOf": [
{
"$ref": "#/components/schemas/EvaluationRuntimeEnum"
},
{
"$ref": "#/components/schemas/BlankEnum"
},
{
"$ref": "#/components/schemas/NullEnum"
}
]
},
"bucketing_identifier": {
"nullable": true,
"description": "Identifier used for bucketing users into rollout and variants\n\n* `distinct_id` - User ID (default)\n* `device_id` - Device ID",
"oneOf": [
{
"$ref": "#/components/schemas/BucketingIdentifierEnum"
},
{
"$ref": "#/components/schemas/BlankEnum"
},
{
"$ref": "#/components/schemas/NullEnum"
}
]
},
"evaluation_contexts": {
"type": "array",
"items": {
"type": "string"
},
"readOnly": true
}
},
"required": [
"evaluation_contexts",
"id",
"key",
"team_id"
]
}