PostHogFeatureFlag

Properties

NameType
idnumber
namestring
keystring
bucketing_identifierFeatureFlagBucketingIdentifier
filters{ aggregation_group_type_index?: number; groups?: FeatureFlagCondition[]; multivariate?: { variants: { key: string; rollout_percentage: number; }[]; }; payloads?: Record<string, string>; holdout?: { id: number; exclusion_percentage: number; } | null; early_exit?: boolean; }
deletedboolean
activeboolean
rollout_percentagenumber
ensure_experience_continuityboolean
experiment_setnumber[]
has_experimentboolean

Whether the flag is linked to an experiment. Absent when the server does not report it.

evaluation_contextsstring[]

Evaluation context tags set on the flag. The local evaluation poller keeps a flag only when this list is empty or shares at least one entry with the SDK's evaluationContexts. Absent when the server does not report it.

evaluation_tagsstring[]

Legacy name for evaluation_contexts. Servers older than the field rename (PostHog, 2026-03-11) expose the same list under this key on /flags/definitions. Read as a fallback so local-evaluation context filtering still works against those servers.

evaluation_runtimeFeatureFlagEvaluationRuntime

Where the flag is meant to be evaluated. Absent or null on a flag that does not set a runtime, and on servers older than the field; both mean all, the default PostHog applies.