Analytics
When an operator turns analytics on, Niko shares bounded product events so they can understand usage, reliability, and cost. These analytics never capture screen recordings or session replays.
Niko sends no usage data to NeoSky AI by default. Analytics stay off unless the operator sets NIKO_ANALYTICS_ENABLED=true. Events then go to NeoSky AI's Niko project in PostHog's US region, set in src/shared/posthog-host.json. There is no runtime override for that project. When analytics are on, usage sharing is on for new owners, and each owner can turn it off.
Messages, generated content, connected-app results, and credentials are excluded from analytics events. About you sends only fixed choices and stores them on a PostHog person profile tied to the analytics ID so the team can filter usage by those answers. Answers you choose to submit in an in-app survey, including typed text, are the content exception. If you enter an email address for updates and tick its consent checkbox in onboarding, Niko stores that address on the same PostHog profile and sends an unverified signup request to the service at NIKO_ONBOARDING_EMAIL_URL only if that address is set and Share usage data is on when you submit. Fixed About you choices accompany it only if you shared them successfully. Submission sends no email; later notifications require a separate double opt-in confirmation. While sharing is on, a separate model request assigns a fixed task category; its input goes to your selected model connection, not PostHog.
Turn usage sharing on or off
Section titled “Turn usage sharing on or off”Change Share usage data in Settings → Privacy & data. Existing owners keep their saved choice. The welcome screen, About you's opening message and onboarding's privacy step say that usage data is shared. When the deployment enables analytics, a fresh packaged local app records when its first native setup window becomes visible while sharing is on by default; returning profiles wait for their saved choice before recording an app open.
The deployment must also allow collection. Only NIKO_ANALYTICS_ENABLED=true enables it.
flowchart LR
deploy{{Deployment<br/>allows it?}} -- yes --> owner{{Share usage data<br/>on?}}
deploy -- no --> off[Nothing sent]:::stop
owner -- no --> off
owner -- yes --> on[Product events]:::go
| Setting | Effect |
|---|---|
NIKO_ANALYTICS_ENABLED |
true enables availability, including in development. Any other value disables it. |
NIKO_ANALYTICS_ENVIRONMENT |
Labels source-install events production or development; it doesn't enable collection. |
Restart Niko after changing either variable. To disable the separate feedback collector too, set NIKO_FEEDBACK_ENABLED=false. Model providers, connected services, and software updates have separate network access.
Opt-out drops unsent events. Turning sharing back on doesn't revive events from the earlier sharing period. It can't recall an opening event already sent under the default-on setting or other events already transmitted.
Stop sharing or delete past data
Section titled “Stop sharing or delete past data”Turning sharing off stops new analytics events and person-profile updates. It doesn't delete past PostHog or Customer.io data, including About you answers and an email address already stored on a profile. An email submission already in flight may still reach either service when sharing is turned off. To request deletion, contact the operator of the PostHog project and signup service. For the desktop app from NeoSky AI, write to support@neoskyai.com.
Identity and environments
Section titled “Identity and environments”Analytics groups observed events by a pseudonymous analytics ID (local:<UUID>) stored with the server data root. A local desktop uses its local profile; web and desktop clients connected to one server share that server's ID. The team counts each unique ID once as an observed install; there is no separate install event. A fresh packaged local app can first appear when its native setup window opens. Other IDs can first appear later than installation or first open. A local desktop records a verified remote-server connection under its own ID when both collection and the server owner's saved usage-sharing choice allow it. Later activity on that server uses a different ID and is not joined to the desktop ID. Distinct-ID charts count observed sharing runtime profiles, not downloads, verified client installations, devices, or people.
The ID persists across updates while its data root exists; removing that data creates a new ID, while a copied profile or explicitly supplied server ID can reuse one. An ID's first recorded v4 production event marks when it entered the observed sample, not its install or first-open time. Events appear only while collection and sharing are enabled.
The About you profile can link this ID's events to its fixed choices. If you submit an email address in onboarding, PostHog can link that usage to the address too.
| Runtime | Identity storage | Collection available |
|---|---|---|
| Source or self-hosted server | <NIKO_DATA_ROOT>/analytics-id |
NIKO_ANALYTICS_ENABLED=true |
| Local desktop runtime | Desktop profile | NIKO_ANALYTICS_ENABLED=true |
Official Mac, Windows and Linux desktop releases label events as production. Pull request and manual preview builds use development.
The owner's sharing choice still applies. Niko disables IP geolocation. Ordinary events don't create PostHog person profiles. Submitting About you explicitly creates or updates a profile with fixed choices under the analytics ID while Share usage data is on. This happens whether or not you provide an email. The profile has onboarding_profile_completed=true and one property per question:
| Person property | Value |
|---|---|
onboarding_scope |
Fixed choice or skipped |
onboarding_roles |
Array of fixed choices, other for a typed answer, or ['skipped'] |
onboarding_who_for |
Fixed choice, skipped, or not_asked |
onboarding_company_size |
Fixed choice, skipped, or not_asked |
onboarding_jobs |
Array of fixed choices, other for a typed answer, or ['skipped'] |
With Mostly personal life, Niko still asks about occupation but skips who-for and company size. Both properties use not_asked in the event and on the person profile.
The typed Something else text stays out of PostHog and Customer.io. The onboarding_profile_answered event keeps per-option booleans for event-time analysis. A new About submission removes any old per-option person properties; existing profiles keep them until resubmitted. Separate consent lets Niko add email and the consent flag, time, version, exact checkbox wording, and privacy policy link to the same PostHog profile. The fixed choices accompany the Customer.io signup only after they were shared successfully.
Packaged release builds with a plain x.y.z version report production. Local and prerelease desktop builds report development. A production source launch with pnpm start sets app_version to its Git revision when its working directory is the clean Niko repository root and no version is configured. Private self-host bundles report their verified source revision. Other source installs can set NIKO_APP_VERSION to a release version or source revision. Source installs report production when NODE_ENV=production and NIKO_APP_VERSION isn't a prerelease, unless overridden. Dashboards filter to production and include both staff and external usage. Internal/test exclusions are off; separating internal use into another project is deferred.
What is excluded
Section titled “What is excluded”- Messages, replies, task titles, summaries, quotes, and answer-choice text.
- Tool arguments and results, app records, web pages, file contents, file names, and paths.
- Names, other contact details, account names, and private owner, thread, turn, and message IDs. A separately consented onboarding email is the exception.
- Website domains, URLs, endpoint addresses, private hostnames, and IP addresses.
- Vault values and login inventories, payment amounts and currencies, card details, codes, keys, and order details.
- Raw errors, console output, and network headers or bodies.
- Owner-configured model names and endpoints. These report bounded categories such as
compatibleandcustom.
Survey text is sent as entered, so leave out the private information listed above.
Task categories describe the inferred purpose of a request. They don't establish completed goals, usefulness, satisfaction, or frustration.
Event properties
Section titled “Event properties”Events use analytics_schema=v4, environment, and app_version when available. This schema starts fresh; earlier analytics aren't migrated into its dashboards.
UI events add surface (web or desktop) and a normalized app route. Server events add capture_source=server.
Browser SDK metadata can include the browser and OS names/versions, device type, screen and viewport dimensions, SDK name/version, event time/UUID, and pseudonymous session/window IDs. Native first-open, path, local-setup, WSL-install, and verified-server-connection events have their time and UUID but no browser session or window metadata. The public ingestion identifier is included for routing. This metadata doesn't contain the raw browser user-agent string or private Niko owner, thread, turn, or message IDs.
The server SDK adds its name and version, event timestamp and UUID, and a constant server marker ($is_server=true). Ordinary events disable GeoIP lookup ($geoip_disable=true) and person-profile processing ($process_person_profile=false). Explicit $set calls add the fixed About you choices and, after separate consent, email and consent metadata under the analytics ID.
Server events captured within a turn add a random analytics run_id, work_type (immediate, scheduled, or background), and owner_requested. Resumed work retains its originating execution mode. The separate task_type describes the request's purpose. UI presentation and artifact events don't include run_id. Private turn and message IDs are excluded.
Server events within a turn also carry pseudonymous thread_id and turn_id fields. These IDs match conversation traces. A turn is one unit of Niko's work, such as a request, schedule fire, observer batch, or continuation. It is not a user-message count. The analytics ID (user_id) equals the PostHog distinct_id. Join on that ID, thread_id, and turn_id to connect model calls to the turn's source and task classification. The analytics run_id remains separate from the trace's agent run_id.
First desktop release: v0.9.1. Earlier events omit thread_id and turn_id. Keep those events as missing-ID coverage in reports. For a saved session, conversation IDs remain stable across idle gaps and restarts when the private conversation key loads. If key loading fails, the fallback IDs change on restart. Earlier trace releases used temporary conversation IDs. Keep those trace release groups separate for cost-per-conversation reports. Work without a saved session gets a new auxiliary ID for each job.
Owner-authored messages in Tasks are owner-requested background work. Agent-created child tasks can also retain the original owner request, so owner_requested=true doesn't establish a new owner message. Work category and owner request are separate dimensions; autonomous event and schedule starts aren't owner-requested.
Autonomous work outside a turn shares pseudonymous thread_id and turn_id fields with its traced curator calls. These IDs identify auxiliary work, not a saved turn. This work uses work_type=background, owner_requested=false, and system_activity (memory_learning, onboarding, schedule_ideas, or writing_style). It has no run ID. Model requests without an established context use work_type=unclassified so their usage remains visible; this doesn't mean they were owner-requested or free.
Server events must pass a strict schema. UI events keep only allowed properties and values. Public provider and app names come from supported catalogs; custom connections report custom.
Model events use one provider property. Onboarding completion and execution starts report the selected provider. Execution completion reports the last main-agent provider used, when observed. Only chat, task, and observer calls set it. Helper and maintenance calls do not replace it. Older events without a request kind keep their earlier behavior. Each model_used event identifies the provider for that request, so model switches remain visible.
Execution results describe one segment. reply means a normal reply, file, or visual was committed to the conversation and the segment succeeded. It does not prove delivery by an external chat service, usefulness, or completion of the whole task. needs_owner covers questions, approvals, and private sign-in forms. no_reply means the segment succeeded without a normal reply; this is expected for many background checks. Failure, cancellation, interruption, and skipped work keep their own results, even if an earlier reply was saved.
Model request_kind separates chat, task, observer, helper, compaction, cache_warm, and auxiliary calls. Other kinds are memory, review, tasks, task_classification, and unclassified. Image analysis, attention checks, the chat's short request line, and nested codemode model calls use auxiliary. This uses call metadata, not conversation content. attempt=1 is an initial agent or curator call; a larger number is a retry of that request. The number resets for the next request and is limited to 1–4, which covers the current retry limits. Other call paths can omit it; absence does not mean there was no retry. The random analytics run ID links observed calls to the segment result. A failed helper or cache-warming call does not by itself mean the owner's work failed.
Setup and app interaction
Section titled “Setup and app interaction”| Event | What it records |
|---|---|
$pageview |
Normalized app route. URLs use the placeholder https://app.example host. |
app_opened |
Fresh packaged native setup opening or first consented app UI session, with fixed entry and route; native setup marks server telemetry support. Desktop app UI sessions add login_item and since_boot. |
startup_path_selected |
Fresh native Welcome navigation: local Get started, opening the remote-server form, or returning to Welcome. It does not confirm server connection. |
local_setup_observed |
Native runtime and startup states, setup availability, platform, and a failure's bounded code, step, class, exit code, HTTP status, signal and syscall after local setup is selected. No raw error, path or message text. |
wsl_install_changed |
WSL install by Niko or its Windows installer: status (started, installed, not_started, failed, declined, ready), trigger (automatic, manual, installer, reminder), failure_exit_code. |
server_connection_verified |
The desktop successfully authenticated with a saved Niko server and entered the ready state. No server URL, token, or owner identifier. |
onboarding_step_viewed |
Step (welcome, email, about, brain, notifications, privacy, join) and direction. The native setup window has no step-view event. |
onboarding_step_skipped |
Skipped email or notifications step. |
onboarding_profile_answered |
Finished About you: scope, one true/false per role and task, conditional who-for answer, company size, and fixed skip/other markers. No typed text. |
onboarding_community_opened |
Community link opened from Join us. |
onboarding_updates_email_submitted |
Updates email accepted by PostHog and the contact workflow after its consent box was ticked, without the address in this event. |
model_setup_completed |
A usable selected model verified when setup reaches Privacy: provider and catalog-safe model, or custom. |
onboarding_completed |
First saved completion and selected model provider, when available. |
settings_viewed, tab_viewed |
Fixed settings section or Apps page tab. |
local_setting_changed |
Changed, persisted local theme, launch-at-login, keep-awake, notification, or notification sound choice with a fixed value. |
login_item_observed |
Whether Niko is registered to open at login (registered, not_registered) when the desktop device step of onboarding completes. |
notification_opened |
Clicked browser reply notification, without its content. Native notification clicks aren't observed. |
chat_message_sent |
Attachment/reply booleans, text/voice input, and composer/task-card/ask-Niko/task-reply/answer-choice/approval-card source. |
owner_message_accepted |
Newly committed owner message by bounded channel. Excludes duplicates, commands, private verification, message text, and private message/turn IDs. |
chat_stop_requested |
Stop requested in the app. |
task_card_started, task_action |
Card kind, learned/common/fixed origin, and bounded position, or fixed task control, including Show commands. Command text and output are excluded. |
onboarding_offer_sent |
The ideas Niko posts in the chat that holds a new owner's first idea cards, in their first week, after the chat goes quiet or Gmail is connected, with the first idea's kind (immediate or ongoing), what triggered it (quiet or connected), and whether it follows the conversation or comes from the prepared ideas (conversation or ideas). No card title, app, or text. |
onboarding_offer_answered |
The owner's first message in that chat after that next step, except an approval answer, sent at the next check, within a minute. started is true only when the message is an idea's number, its exact title or its wording in the message, so an answer in other words counts as false. Not sent if the chat is cleared first. No text. |
setup_link_clicked, link_opened |
Setup kind or text/tooltip source and optional bounded position. No link destination. |
browser_handoff_action |
Successful done, back, reload, expand, or collapse operation. |
message_reaction_changed, message_action |
Fixed reaction/action, input method, and assistant/user role. Copy follows clipboard success. |
attachment_added |
Picker/drop/paste, first-file category, and count bucket (1, 2-5, 6+). |
app_connect_clicked, app_connection_completed |
Entry point (Apps page, chat, onboarding, app management, or the first idea cards' offer) and result: sign-in opened, access setup needed, or Channels opened instead; or a completed connection flow. |
app_connection_chat_requested |
Selection of Open chat in an Apps connection-success notice. No app, account, sign-in link, or message content. |
phone_offer_viewed |
The offer shown after a new schedule is saved came into view, and whether it was in chat or after the schedule form. No schedule, turn or channel details. |
phone_offer_answered |
Answer to the offer shown after a new schedule is saved: telegram, whatsapp or not_now, and whether it came from chat or the schedule form. No schedule, turn, account or pairing details. |
model_selected |
Provider, settings/onboarding entry, and whether the recommendation was chosen. |
ui_error |
Fixed area and action, without error text. |
feedback_sent |
Bug/feature/other category and attachment/report booleans, without feedback content. |
Settings sections are general, notifications, models, voice, memory, and privacy. A section view means it was reached by navigation or scrolling, not that a setting changed. Settings paths normalize to /settings. Apps tabs are all and connected; /tasks is the Scheduled page and has no tab events.
New task cards record how they were chosen in origin. A model choice is learned, a fallback is fixed, and an extra popular card is common. Cards prepared before this change can have no saved origin. Their clicks still count as learned. Existing cards and past events keep their previous classification. Compare origins only across releases that record the new values, and keep older observations separate.
Connecting email is optional. About you answers are counted as fixed choices in an event and stored on the PostHog person profile tied to the analytics ID, even if you don't provide an email. The team can filter linked events by the profile's current choices. Ordinary events don't carry event-time person-property snapshots, including those captured after About you, so PostHog's event-time person-property filter does not match them. Earlier events can be included by current-person filtering and reflect later edits to the answers. Words typed under Something else stay in the owner's memory note. Entering an address for updates in the final step does not send it until its consent checkbox is ticked, setup is finished, and the contact workflow is configured. The address is added to the PostHog profile and sent to the service at NIKO_ONBOARDING_EMAIL_URL, which can create or update an unverified contact profile. Only fixed About you choices shared successfully accompany it; submission sends no email. Later updates require a separate confirmation flow. Model setup can be bypassed when already configured. On reaching Privacy, Niko verifies the selected model and emits model_setup_completed while sharing is on; this includes the preconfigured path. Successful final setup also emits this milestone as a fallback if the Privacy request was missed. A return to Privacy can emit another observation, so model-mix insights select one milestone per analytics ID. onboarding_completed follows a successful final required-model check and can identify its provider, but only among IDs that finished setup. The setup funnel measures observed step visits, not connection success. Sharing must be enabled when a step appears to observe it; the native setup window has no step-view event.
Native setup-opening, startup-path, and verified-server-connection events use the local desktop ID. Opening the server form records a remote path choice, and returning to Welcome records a new path choice. Verification records an authenticated connection after the saved server starts; checking a candidate address before saving it does not count. The desktop rechecks the server's current usage-sharing choice and revision before recording verification. Older servers without a revision still connect, but their successful connections are not observed by this event until upgraded. This allows first-open-to-verified-connection measurement for a desktop ID. The connected server's other events use its own ID and cannot be joined to that desktop journey. A later opt-out or failed delivery can leave an opening without observed continuation; missing continuation is not confirmed abandonment.
After Get started saves a local choice with usage sharing on, local_setup_observed records the current native state and later state changes. It also records an unfinished local setup when the app restarts. runtime_status and startup_status use idle, preparing, starting, ready, failed, or unknown. setup_available means the local service passed its health and setup checks; runtime preparation can still be in progress. platform is darwin, win32, linux, or other. A failed state can add failure_code, the technical cause such as NIKO_WSL_REQUIRED or ENOSPC, and failure_step, the fixed setup step such as wsl or assets. From 0.9.9, a failed state can also add failure_class (an error class name), failure_exit_code (a command's exit code), failure_http_status (an HTTP status observed during setup), failure_signal and failure_syscall (fixed lists), so Linux and Windows failures with no named code still show their cause. Each is left out when the failure has none; a code that isn't an uppercase identifier is left out too. The event sends no messages, error text, file paths, server addresses, or progress text. Repeated progress updates with the same state do not send another observation. Choosing the remote path stops local observations. Turning sharing off drops queued observations and does not replay them later.
Startup-path events from these builds include local_setup_telemetry_available=true. Use this marker and a complete observation window for local setup cohorts. State observations do not prove that the web setup page appeared or that an owner finished onboarding. A missing observation can result from closure, opt-out, or failed delivery.
Native first opens from builds that can emit server_connection_verified include server_connection_telemetry_available=true. Use that marker to limit the first-day server-connection rate to eligible first-open cohorts; older native opens lack it. There is no separate install event.
After a confirmed connection from Apps, selecting Open chat records app_connection_chat_requested. It records a navigation request, not a message, task, or successful goal. It does not send a message or start work. The event has no connection name, account, or sign-in address.
Runs, models, and connected services
Section titled “Runs, models, and connected services”| Event | What it records |
|---|---|
turn_started |
Source, channel, background flag, execution mode, owner-requested flag, selected public model when available, and task taxonomy version when supported. |
turn_completed |
The same context, outcome, result (reply, needs_owner, no_reply, failed, cancelled, interrupted, or skipped), execution/queue milliseconds, bounded waiting or failure reason, and a model failure's class and HTTP status. |
task_classified |
One fixed task purpose, classification status, and taxonomy version for an execution segment. |
task_finished |
Committed task status (done or cancelled) and actor (owner or agent). |
prepared_work_saved |
A changed preparation or saved offer message, with prepared or notified outcome. |
prepared_work_updated |
Changed owner-requested control: useful, not_useful, handled, dismiss, or snooze. |
chat_stopped, task_stopped, conversation_reset |
Server-accepted stop or completed reset. |
tool_used |
Fixed tool category, outcome, milliseconds, and subagent flag. |
model_used |
Provider/public model, purpose (agent, memory, review, tasks, task_classification), bounded request kind, memory operation when known, attempt number when known, outcome, token counts, milliseconds, and estimated cost_usd when priced. |
model_connection_changed, model_connection_observed |
Provider, API-key/subscription/OAuth method, status or selected-model state, and bounded effort. |
connection_changed, connection_observed |
Public app or custom, connection method, and status/bounded failure reason where applicable. |
connection_inventory_observed |
Zero-inclusive latest observed connected app types and their count. Public app slugs and custom only; no account count or names. |
runtime_active |
Once per UTC day while Niko's engine runs, and again after a restart, with whether the engine started that day. No other property. |
runtime_stopped |
Once when Niko's engine shuts down in an orderly way, with how long it had been running (under_1h, under_1d, over_1d). No other property. |
channel_connection_observed |
Telegram or WhatsApp and a bounded disabled, setup-pending, connected, or configured-unverified state. No handle, number, or account ID. |
service_used |
App, method, outcome, milliseconds, bounded failure reason, and optional preparation phase. Local file actions count as local_files, without paths or file names. |
source_read |
Source category (connected_app, tasks, other), discovery/record-read operation, outcome, milliseconds, and bounded record/unavailable counts. |
confirmation_changed |
Asked/approved/declined/executed/expired/uncertain, fixed action kind, and turn source. |
secure_entry_changed |
Sign-in/payment/code kind and state: submitted, failed or uncertain for a saved login or code; requested, superseded, approved, submitted, failed or uncertain for a payment. A step stopped before entry uses failed. An uncertain step may have reached the website. |
settings_updated |
Accepted settings request by section, operation, and optional channel; can include unchanged writes. Channel operations name the request, not confirmed connection or disconnection. |
setting_changed |
Committed setting change by fixed setting, owner/agent/system actor, and bounded state when available. Includes the preparation allowance, without its amount, and the model for schedules, work Niko starts on its own, one schedule or one task as default, configured or, for the first two, light, never the model. No free-form values. |
schedule_changed |
Create/update/delete, once/recurring kind, bounded cadence, and user/agent actor. |
memory_changed |
Note/skill, save/forget/archive/clear, and owner/agent/background actor. |
vault_changed, vault_imported |
Login/card kind and operation, or number imported. No domains or inventory. |
A failed turn_completed has the failure reason spending_limit, model, offline, or unknown. offline means the request couldn't reach the model provider because of a network failure on this computer, such as a failed name lookup or no route to the provider; earlier releases counted it under model. A model failure adds failure_class: authentication, permission, rate_limited, quota_exhausted, timeout, unavailable, invalid_request, tools_unsupported, context_too_large, output_limit, invalid_tool_calls, or unknown. output_limit is a reply the model cut off at its output limit. invalid_tool_calls is a turn stopped because calls to one tool failed five times without a successful call and the last failure was a call Niko couldn't accept, such as invalid arguments or an unknown tool; when the last failure came from Niko's side, such as a failed trust check, the turn stays unknown. Earlier releases counted both under unknown. It also adds provider_status, the provider's HTTP status number, when there was one. Niko works the class out on the owner's runtime and sends only that fixed value and the number, never the provider's error text or error code. quota_exhausted covers a used-up quota, usage allowance, or credit balance. context_too_large covers a request larger than the model or its token limit accepts.
Channel reconnect requests use settings_updated with operation connect_started, like Telegram setup and QR renewal. This counts accepted requests, not confirmed connections.
For memory model requests, memory_operation identifies automatic learning (reflect), requested saving (remember), recall selection (recall), writing style (style), learned skills (skill), or a memory brief (brief). It contains no note, request, search, or result text. Older events and unknown operations omit it. A cancelled memory request does not by itself show that the owner stopped work or that recall failed; local deadlines can cancel optional selection while the reply continues.
setting_changed includes local_files_access, with an on or off state and the actor. It includes no file names or paths.
An execution segment ends with succeeded, a waiting state, failed, cancelled, interrupted, or skipped. Success means execution finished; it doesn't verify the whole task. A crash can leave a start without a completion. One turn can handle several queued messages.
Task completion records a declared status, not verified success. notified means an offer message was saved, not that an external notification arrived or was read. Prepared-work feedback records the requested action, which can be performed through Niko's tools. It isn't a survey or a rating for every task. Rejected, rolled-back, and unchanged writes don't count. These events exclude task identifiers, titles, prepared content, and feedback text.
duration_ms measures execution time. queue_duration_ms measures waiting to start. They exclude time awaiting an owner response between segments. Join related measurements using the analytics ID and analytics run_id.
cost_usd is a model price estimate, including API-equivalent estimates for plan usage. Check pricing (api, plan_estimate, unavailable) before interpreting totals. Unpriced usage isn't free. Browser runtime fees, independent integration charges, and who pays aren't measured.
An explicitly reported API cost of zero remains zero. A zero estimate without a reported charge is unpriced and has no cost_usd. Positive plan estimates remain priced even when the provider reports no charge. Costs are rounded to six decimal places after pricing is classified, so a tiny known cost can display as zero.
Saved connections don't prove access works. Successful service calls don't prove task success. Connection observations occur at startup, when sharing turns on, and after changes. Individual connection_observed events omit the zero state and can include older connections. connection_inventory_observed adds one zero-inclusive app-type snapshot after a successful read; the latest snapshot is the latest observed state, not continuously verified live inventory. Several accounts of the same public app, or several custom connections, count as one type. Source reads measure observed calls and bounded results, without source identifiers or content.
runtime_active shows that Niko's engine ran on a UTC day. Niko checks every 5 minutes and sends it on the first check of each day, so a computer that wakes from sleep reports within minutes. started_today=false means the engine has kept running since an earlier day, for example on a laptop that slept overnight. The event doesn't show that the owner opened Niko or read anything. A day without it can mean the computer was off or asleep all day, Niko was quit or removed, or sharing was off; the data can't tell these apart. Earlier releases sent connection and setup observations only at startup and after changes, so a laptop that woke from sleep looked the same as a removed app.
runtime_stopped shows that the engine was shut down in an orderly way: Niko was quit, restarted for an update, or closed when the computer shut down or the owner signed out. It can't tell these apart. Sleep, a crash and a forced stop send nothing, and a stop can go unreported when the computer is offline or shuts down before the event is sent. A desktop app UI session's app_opened adds login_item (registered, not_registered, unknown) and since_boot (under_5m, under_1h, over_1h), the time between the computer starting and Niko launching. app_opened reads login_item when the session opens, which on a first run is before onboarding registers Niko, so login_item_observed records the state once that onboarding step completes.
Model connection failures include a failure to start ChatGPT or OpenRouter sign-in. Explicit sign-in cancellation is not a failed connection. Older releases can omit failures before sign-in starts.
Channel observations include both channels, including disabled ones, after a successful settings read while sharing is on. Telegram reports connected only after an owner is paired and its configured polling or registered webhook mode is ready. Linked WhatsApp reports connected only while the link reports that state; a configured cloud webhook remains configured_unverified. These states describe observed setup, not successful message delivery.
Setting changes exclude rejected and unchanged writes. Turning usage sharing off prevents capture of that change too. Local browser notification choices are enabled, disabled, or dismissed. dismissed means saving Not now, not closing a delivered notification. Theme values are light, dark, or system. Launch-at-login, keep-awake (keep_awake), desktop notifications and notification sound use enabled or disabled.
Server settings cover theme, conversation traces, usage sharing, voice and speech replies, notification rules, personal rules, timezone, locale, hour cycle, quiet hours, paused proactivity, memory controls, spending limits, and model/effort selection. Values are bounded states such as on/off, configured/default/cleared, or a fixed mode. Voice names, rule text, exact times, locale/timezone values, and spending amounts are excluded.
The system setting actor identifies app-reported automatic browser-timezone initialization. It isn't an owner choice or an authorization signal.
Task categories
Section titled “Task categories”Niko assigns one broad purpose to eligible requests after the execution segment ends. Classification runs separately and doesn't delay the reply. task_classified joins to the segment using the analytics ID and random analytics run_id; it doesn't reveal the task's title or exact request.
Taxonomy version 1 has these fixed values:
task_type |
Intended result |
|---|---|
research |
Find, check, or compare information and options. |
communication |
Prepare, send, or organize correspondence. |
content_creation |
Write, edit, or produce documents, presentations, or media. |
data_analysis |
Calculate or analyze structured data. |
file_management |
Find, organize, move, or convert existing files. |
scheduling |
Arrange meetings, calendar entries, or reminders. |
monitoring |
Watch for changes or report changes against an earlier state. |
app_setup |
Connect or configure apps and integrations. |
translation |
Change content from one language to another. |
software_development |
Build, debug, or change code and technical automation. |
transaction |
Buy, book, pay, cancel, or submit a concrete transaction. |
advice |
Explain, teach, plan, or advise without an outside action. |
other |
A clear purpose outside the named categories. |
unknown |
No clear purpose or no single primary purpose. |
A compound request receives its primary purpose, not a new label for every combination. Categories describe intended work, not the tools used or whether it succeeded.
The classifier receives at most 6,000 characters from the original owner request, saved task brief, or schedule instruction, with known secrets redacted. Niko doesn't add assistant replies, tool history, or attachments. This bounded input still reaches your model provider; only the fixed category, status, version, and existing execution context enter the classification event. Classification requests are excluded from conversation traces.
Niko uses an approved small text model on the currently selected connection, at its lowest reasoning effort. Both models must have known positive catalog prices, and neither the classifier's input nor output rate may be higher. Free, unknown-price, and variable-price selections skip classification, as do unsupported connections or unavailable suitable models. An already selected approved small model can classify too. There is no fallback to the main model or another connection. Each call has a 10-second deadline, a 512-token output limit, and no retries. Its usage remains in model-cost totals and is identifiable by purpose=task_classification.
The result is reused for resumed segments and later segments in the same task session during the same sharing period. A new chat request is classified separately. Observer/event work, onboarding work, and cancelled, interrupted, or skipped segments are not classified. Turning sharing off cancels in-flight classification and prevents its result from being sent. Turning it back on doesn't revive the old result.
classification_status |
Meaning |
|---|---|
classified |
The model returned an allowed category, including unknown when unclear. |
unavailable |
No eligible classifier was available or capacity prevented dispatch. |
failed |
The request failed, timed out, or returned an invalid response. |
not_applicable |
The segment is excluded or has no usable request text. |
The last three statuses use task_type=unknown. Read both properties: a model's uncertainty, an unavailable classifier, and a failed request are different observations. An absent classification event is a separate missing observation, not unknown.
Category views show the observed mix, execution outcomes and duration, known model costs with pricing coverage, classification coverage, and classifier overhead. They count execution segments, not whole jobs: resumed segments can repeat the category, and duration excludes time waiting between them. Reach across analytics IDs shows breadth, but an ID can appear in several categories. Classification eligibility depends on the selected provider/model and work type, so the mix may not represent all work. Coverage includes all observed completed segments with usable run IDs. The taxonomy marker distinguishes supported measurement from not instrumented observations, which remain in the denominator. Coverage allows 60 seconds after completion for asynchronous classification before reporting a missing result; older events without the marker aren't classification failures.
Outputs and answer choices
Section titled “Outputs and answer choices”| Event | What it records |
|---|---|
output_created |
Committed assistant presentation or file delivery, by kind and count. |
presentation_viewed |
Visible image/map/flights/seats/booking/chart/apps/diagram/items/schedule/facts/compare/draft presentation. |
presentation_action |
Presentation kind, message/drawer location, and successful open/copy action. |
schedule_notice_viewed |
A visible schedule notice in chat, by kind: failed at the model, at the spending limit, offline or another way, ran late, or ran after skipped runs. No schedule name, time or reason. |
schedule_notice_action |
The same kind and what was used on the notice: a started Run now, or the Models, Usage or server link. |
artifact_viewed |
Artifact kind and message/drawer location. |
artifact_action |
Kind, message/drawer/commands/composer location, and copy/download/download-request/open/reveal/reuse-request action. |
answer_choices_viewed |
Single/multiple mode and number offered (one to six). |
answer_choices_selected |
The same context and number successfully selected (one to six). |
Views require a visible app and content intersecting its viewport. Repeated mounting doesn't count again within the current capture period. These observations aren't unique files or a linked conversion funnel.
Presentation open means expanding the native presentation into its drawer; copy follows clipboard success. A presentation keeps the same impression identity in the message and drawer, and does not count as a file artifact view. Presentation content, labels, and identifiers are excluded.
download_requested records a browser request. download records a native save that returned successfully. A request alone doesn't prove a local file exists.
open and reveal follow native API success. reuse_requested means the app dispatched a reuse request, not that an attachment was accepted or sent. Reuse locations also cover the command palette (commands) and internal file drops (composer); artifact views remain limited to message and drawer locations.
Answer-choice views count once per question in a sharing period, while the choices are in the viewport and the app is visible. Selections follow a server-accepted answer. Option toggles, answers with only typed text, and failed, rejected, or unavailable submissions are not selections; typed text sent with choices counts only the choices. Accepted choices also emit chat_message_sent with source=answer_choice and input=text. Question and option IDs, labels, selected text, and response content are excluded. An accepted approval-card answer emits chat_message_sent with source=approval_card and input=text; the server's confirmation_changed event records whether it approved or declined.
Surveys
Section titled “Surveys”While Share usage data is on, the Niko team can show a short survey, such as how likely you are to recommend Niko. Surveys become eligible after you've sent Niko messages on at least three different UTC calendar days. That count stays on your Niko installation and isn't sent to PostHog. Questions and targeting are set in PostHog. Each survey normally appears once: after its card has been shown, Niko saves that with your account and doesn't show it again, in the app or any browser you use with the same Niko, even if you closed it without answering. A repeating survey can return for its next round. If Niko can't save that the card was shown, the survey can appear once more the next time you open Niko.
The survey asks one question at a time. Choosing a score, such as a recommendation score from 0 to 10, sends it immediately, even if you close the survey afterward. Typed text is sent only when you select Next or Send. Closing never sends unsubmitted text or withdraws answers already sent. You can close a survey without answering.
| Event | When | Properties |
|---|---|---|
survey shown |
A survey appears | $survey_id, $survey_iteration |
survey sent |
You choose a score or select Next or Send | $survey_id, $survey_iteration, $survey_submission_id, $survey_completed, $survey_questions (question IDs and wording), and submitted answers so far: integer scores from 0 to 10 or text up to 2,000 characters |
survey dismissed |
You close a survey | $survey_id, $survey_iteration; after a partial submission, also $survey_submission_id and $survey_partially_completed. No answers or unsubmitted text |
These answers go to the same PostHog project as other usage events. Text is sent as entered, so don't include private conversations, credentials, or account details. Turning sharing off hides the card and stops further survey events.
Read first-attempt outcomes
Section titled “Read first-attempt outcomes”The first-attempt table starts with each analytics ID's first observed v4 onboarding completion, then applies the selected cohort dates. It selects the earliest owner-requested chat or Tasks execution start within seven elapsed days. Only that execution's matching completion determines its outcome. Later attempts and resumed executions can't replace an initial failure or waiting state.
No start is separated into an open seven-day window or an elapsed window. A start without a matching completion remains unknown, not failed. Missing analytics run IDs are reported separately. Results include observations up to the earlier of now and the selected end date. A matching completion can occur after the seven-day start window.
The denominator includes all selected observed onboarding completions, including incomplete windows. This isn't a sample of verified new people or unassisted installations. The separate seven-day activation funnel measures eventual success and can include retries.
Read return and cost measurements
Section titled “Read return and cost measurements”The primary return table starts at an analytics ID's first observed successful owner-requested execution segment in v4, before applying the selected cohort date range. A resumed segment can establish that first success. This is an execution milestone, not proof of a useful completed task or an onboarding-qualified cohort.
The return proxy is a later execution start with owner_requested=true and source=user or task. It can be an agent-created child of an existing owner request, so it doesn't establish a fresh message or human visit. All resume starts are excluded, including genuine confirmation messages. Queue delays and later child starts can cross window boundaries without new owner input; messages merged into a running turn don't create separate starts. Active-use and first-attempt return charts use the same execution-start proxy.
owner_message_accepted measures fresh owner messages across the web app, Telegram, and WhatsApp after the event ships. Its channel is web, telegram, whatsapp, or other for an unrecognized or future source. It is emitted after a new message commits, including messages merged into running work and explicit yes/no confirmation replies, and excludes duplicate deliveries, commands, and private verification replies. It has no analytics run ID. Earlier v4 history lacks this event. chat_message_sent covers web and desktop UI only and can differ when a client closes before recording the response.
The aha candidate is the number of accepted owner messages per analytics ID; there is no chosen threshold yet. First-day message counts use the 24 hours after an ID's first observed production event. D3 activity uses the third UTC calendar date after first observation and only includes cohorts whose full D3 day has elapsed. The D0–D7 return cohort instead begins with the first accepted message. The channel property says where a message arrived, not whether the owner paired that channel.
| Window | Elapsed time after first success | Included in the denominator after |
|---|---|---|
| D1 | 1 day to less than 2 days | 2 days |
| W1 | 7 days to less than 14 days | 14 days |
| W2 | 14 days to less than 21 days | 21 days |
| W4 | 28 days to less than 35 days | 35 days |
Only fully elapsed windows count, as of the earlier of now and the selected end date. No mature sample means no rate. The 30% W4 reference applies to this completed-execution cohort as a product proxy; it doesn't establish human return or whole-task retention. The separate first-attempt return charts start at the first matching execution start, including previously observed analytics IDs and failed attempts; they are diagnostic and aren't compared with that reference.
The segment-cost table groups model_used records by analytics ID and random analytics run_id, then shows known subtotals for whole segments and their provider/model contributions. Provider and model come from actual usage records, not the last model on the completion event. Resumes have separate run IDs.
Mean, median, and p90 use samples with at least one priced request and can represent partial costs. Coverage columns identify samples whose observed requests are all priced, unpriced requests, and samples with no prices; an entirely unpriced group has no cost value. Subtotals include only observed requests in the selected date range. A segment spanning its boundaries can have incomplete costs even when every observed request has a price. Segments without model records and maintenance or unclassified work without a run ID are absent from this table, not free; total model-spend and pricing-coverage charts retain unscoped usage. Neither table exposes private task or turn IDs.
Measurement gaps
Section titled “Measurement gaps”Survey answers can provide recommendation scores and reasons from respondents. They don't establish satisfaction among everyone who uses Niko or explain why someone never returns. Role, company size, AI experience, and preferred AI tools are not collected. Named-group NPS and retention need audience information and sufficient responses. Usage events cannot establish useful task completion or trust.
Collection safeguards
Section titled “Collection safeguards”Niko does not collect session recordings, screen captures, DOM snapshots, or recording metadata for analytics. The recorder is disabled and snapshot events are rejected. The pseudonymous browser session/window IDs listed above are ordinary SDK metadata and don't indicate a recording.
Page URLs use https://app.example plus a fixed app route, such as /settings. This placeholder preserves navigation counts without sharing your host, query strings, fragments, or private IDs. Niko doesn't contact that address.
Autocapture, console and network capture, automatic exceptions, feature-flag events, and PostHog's automatic survey popups are disabled. Niko draws survey cards itself and requests only the feature flags needed for survey targeting.
Capture failures don't interrupt Niko. PostHog configuration and model keys never enter the workspace.