PostHogFlagsResponse

Properties

NameType
sessionRecording(boolean | { [key: string]: JsonType; }) & (boolean | { [key: string]: JsonType; })
supportedCompressionCompression[]

Supported compression algorithms

surveysboolean | Survey[]

Whether surveys are enabled

errorTrackingboolean | { [key: string]: JsonType; }

Error tracking remote config. Either a boolean (false = disabled) or a map with configuration. When a map, autocaptureExceptions (boolean) controls whether automatic exception capture is enabled remotely.

capturePerformanceboolean | { [key: string]: JsonType; }

Capture performance remote config. Either a boolean (false = disabled) or a map with configuration. When a map, network_timing (boolean) controls whether network timing capture is enabled remotely.

logsboolean | { [key: string]: JsonType; }

Logs feature remote config. When a map, captureConsoleLogs (boolean) is the local opt-in flag for console.* autocapture (read by the JS SDK's PostHogLogs extension to decide whether to load the autocapture bundle).

featureFlags{ [key: string]: FeatureFlagValue; }
featureFlagPayloads{ [key: string]: JsonType; }
flags{ [key: string]: FeatureFlagDetail; }
errorsWhileComputingFlagsboolean
quotaLimitedstring[]
requestIdstring
evaluatedAtnumber
minimalFlagCalledEventsboolean

Server-controlled gate for minimal $feature_flag_called events. true only when the project opted in; omitted otherwise. Absence always means full events.