{"version":2,"about":"Every event the Polyptych apps and polyptych.app may record. The ingest endpoint (/api/t) drops any event or property not listed here. Values are enums, booleans and bounded numbers only: no free text, no content from sessions, no names, emails, IP addresses or file paths.","consent":{"essential":"Recorded by our server when an app checks its trial or licence. Needed for the app to work, so it is not affected by the analytics switch.","analytics":"Usage statistics. Off until switched on in the EU, EEA and Switzerland; on with a clear notice and a one-tap off everywhere else.","crash":"Crash reports. A separate switch with the same defaults as analytics."},"envelope":{"iid":{"type":"id","description":"Random ID made when the app is installed. Reset from Settings."},"launch":{"type":"id","description":"Random ID for this run of the app, so events from one run can be grouped."},"platform":{"type":"enum","values":["mac","windows","linux","ios","ipad","android","web","other"]},"app_version":{"type":"version"},"os":{"type":"version","description":"Operating system name and major version when available. Android uses the Android release, not the SDK API level."},"arch":{"type":"enum","values":["arm64","x86_64","other"]},"lang":{"type":"lang","description":"Two-letter UI language."},"channel":{"type":"enum","values":["release","beta","dev"]}},"events":{"app_opened":{"consent":"analytics","description":"The app started.","props":{"first_launch":{"type":"bool"},"install_age":{"type":"enum","values":["0d","1-7d","8-30d","31-90d","90d+"]}}},"onboarding_step":{"consent":"analytics","description":"A step of first-run setup was shown or finished.","props":{"step":{"type":"enum","values":["welcome","sign_in","screen_recording","accessibility","microphone","captions","analytics","done"]},"outcome":{"type":"enum","values":["shown","completed","skipped","granted","denied"]}}},"connect_attempt":{"consent":"analytics","description":"This device started connecting to another one.","props":{"method":{"type":"enum","values":["lan","code","invite","browser","address"]},"role":{"type":"enum","values":["host","viewer"]}}},"connect_result":{"consent":"analytics","description":"How a connection attempt ended.","props":{"method":{"type":"enum","values":["lan","code","invite","browser","address"]},"role":{"type":"enum","values":["host","viewer"]},"ok":{"type":"bool"},"path":{"type":"enum","values":["lan","p2p","relay","unknown"]},"error":{"type":"enum","values":["none","timeout","refused","unreachable","auth","version","licence","cancelled","other"]},"ttff_ms":{"type":"number","min":0,"max":120000,"description":"Time to the first frame on screen."}}},"session_summary":{"consent":"analytics","description":"Sent once when a session ends: what was used and how well it ran. Counts only, never content.","props":{"role":{"type":"enum","values":["host","viewer"]},"ended_by":{"type":"enum","values":["local","remote","network","kicked","error"]},"path":{"type":"enum","values":["lan","p2p","relay","unknown"]},"resolution":{"type":"enum","values":["sd","hd","fhd","qhd","uhd","other"]},"codec":{"type":"enum","values":["h264_hw","h264_sw","other"]},"voice":{"type":"bool"},"captions":{"type":"bool"},"recording":{"type":"bool"},"privacy_blur":{"type":"bool"},"duration_s":{"type":"number","min":0,"max":604800,"round":10},"peak_peers":{"type":"number","min":0,"max":100},"annotations":{"type":"number","min":0,"max":100000,"description":"Completed annotation strokes received by this endpoint."},"reactions":{"type":"number","min":0,"max":100000},"moderation":{"type":"number","min":0,"max":10000,"description":"Kick, ban and mute actions."},"hidden_apps":{"type":"number","min":0,"max":50,"description":"How many apps privacy blur was set to hide, never which."},"fps_p50":{"type":"number","min":0,"max":240},"fps_p95":{"type":"number","min":0,"max":240},"latency_p50_ms":{"type":"number","min":0,"max":10000},"latency_p95_ms":{"type":"number","min":0,"max":10000},"rtt_p50_ms":{"type":"number","min":0,"max":10000},"rtt_p95_ms":{"type":"number","min":0,"max":10000},"loss_pct":{"type":"number","min":0,"max":100},"bitrate_kbps":{"type":"number","min":0,"max":500000},"freezes":{"type":"number","min":0,"max":10000},"reconnects":{"type":"number","min":0,"max":10000}}},"setting_changed":{"consent":"analytics","description":"A setting was switched.","props":{"key":{"type":"enum","values":["captions","noise_suppression","privacy_hide_apps","privacy_hide_notifications","privacy_silence","launch_at_login","theme","crash_reports","send_system_shortcuts","close_to_tray","connection_halo","stick_reactions","command_as_control"]},"value":{"type":"enum","values":["on","off","other"]}}},"upgrade_prompt":{"consent":"analytics","description":"The free version asked the person to buy Polyptych. Sent when the prompt is shown and again when it is answered.","props":{"trigger":{"type":"enum","values":["control","trial_ended","settings"]},"action":{"type":"enum","values":["shown","buy","dismissed"]}}},"free_session":{"consent":"analytics","description":"Sent once when a session on the free version ends: this guest could watch but not control. Counts only, never content.","props":{"duration_s":{"type":"number","min":0,"max":604800,"round":10},"control_attempts":{"type":"enum","values":["0","1-3","4+"],"description":"Clicks or key presses that were blocked, in buckets."},"prompted":{"type":"bool","description":"The upgrade prompt was shown during the session."}}},"licence_problem":{"consent":"analytics","description":"The app couldn't use its trial or licence token.","props":{"reason":{"type":"enum","values":["expired","bad_signature","wrong_device","clock","offline_too_long","other"]}}},"crash_report":{"consent":"crash","description":"The app crashed or hung last time. Sent on the next launch. The event app_version identifies the build that crashed; it is empty if the original version is not known.","props":{"kind":{"type":"enum","values":["panic","signal","exception","hang","out_of_memory"]},"signature":{"type":"hex","description":"A hash of the crash location, so the same crash is counted together."},"uptime_s":{"type":"number","min":0,"max":31536000,"round":10},"reported_by":{"type":"enum","values":["app","os"],"description":"The app saved the report, or the operating system supplied it."}}},"checkin":{"consent":"essential","server":true,"description":"Recorded by our server when an app checks its trial or licence. This is how we count active users and devices.","props":{"kind":{"type":"enum","values":["trial","licence","paused"]},"outcome":{"type":"enum","values":["ok","expired","ip_limit"]}}},"licence_claim":{"consent":"essential","server":true,"description":"Recorded by our server when someone uses the link in a guest purchase email. It carries no account, device or install ID, so it only counts how often claim links work.","props":{"outcome":{"type":"enum","values":["claimed","moved","invalid"]}}}}}