No code access. No conversation access. Ever.

toqn tracks usage stats — never your code or conversations.

✗ We never see

  • Source code
  • Prompts & conversations
  • Command outputs
  • File paths or names
  • Commit messages

✓ What toqn captures

  • Token counts (input, output, cache)
  • Model names
  • Calculated costs
  • Tool usage counts
  • File extension stats (e.g. .ts, .json)
  • Lines added / removed
  • Project folder name (optional, coming soon)
  • Bash command categories (not commands)
  • Git commit / push / PR counts
  • Subagent & skill names + counts
  • Tool error counts
  • Session / conversation ID
  • Number of turns
  • Hook version

What the hook actually sends

This is the shape of a real payload — numbers and labels, never content.

{
  "model": "claude-sonnet-4-20250514",
  "inputTokens": 12400,
  "outputTokens": 3200,
  "cacheReadTokens": 8000,
  "tools": { "Read": 5, "Edit": 2, "Bash": 3 },
  "filesChanged": { "ts": 3, "json": 1 },
  "linesAdded": 45,
  "linesRemoved": 12,
  "bashCategories": { "git_commit": 1, "test": 2 },
  "gitCommits": 1,
  "gitPushes": 0,
  "subagents": { "Explore": 1 },
  "skills": { "brainstorming": 1 },
  "toolErrors": 0,
  "sessionId": "abc123",
  "numTurns": 14,
  "hookVersion": "1.2.0"
}

Your controls

Third-party services

Privacy Policy

Data we collect

When you use toqn, we collect LLM usage metrics sent by the hook running on your machine: token counts, model names, calculated costs, tool usage counts, file extension statistics, lines changed, bash command categories, git activity counts, subagent and skill names, session IDs, turn counts, and hook version. We also store your GitHub profile information (username, display name, email, avatar, location, website) used for authentication.

Data we do not collect

We never collect, transmit, or store your source code, prompts, conversations, command outputs, file paths, file names, or commit messages. The hook extracts only numeric metrics and category labels from your sessions.

How we use your data

Your usage data is used solely to display dashboards, charts, and reports within toqn.dev. We do not sell, share, or provide your data to third parties for advertising or profiling purposes.

Data retention

You control how long your data is retained via Settings. Options range from 30 days to indefinite. When you reduce your retention period, data older than the new threshold is permanently deleted within 24 hours.

Your rights

You can export all your data at any time (JSON or CSV). You can delete your account, which triggers a 7-day grace period followed by permanent deletion of all associated data. Your profile is private by default — only you can view your usage unless you explicitly make it public.

Contact

Questions about privacy? Reach us at privacy@toqn.dev.