FlagDefinitionCacheData

Properties

NameType
cohortsRecord<string, PropertyGroup>

Cohort property groups for local evaluation

flagsPostHogFeatureFlag[]

Array of feature flag definitions

group_type_mappingRecord<string, string>

Mapping of group type index to group name, using the flag-definitions endpoint's field name.

groupTypeMappingRecord<string, string>

Legacy alias for group_type_mapping, retained for existing providers and cache readers.

minimal_flag_called_eventsboolean

Server-controlled gate for minimal $feature_flag_called events, from the top-level minimal_flag_called_events field of the flag-definitions payload. If neither this field nor its legacy alias is present, full events are sent.

minimalFlagCalledEventsboolean

Legacy alias for minimal_flag_called_events.

property_matching_versionnumber

Top-level definitions matching version; absent in older caches means legacy matching.

propertyMatchingVersionnumber

Legacy alias for property_matching_version.