How Troxy handles your data
Last updated: October 30, 2026
What Troxy does not see
Claude Code talks to Anthropic directly. Troxy never sees or stores your Claude login, and it does not store your prompts, your code or Claude's replies.
What we receive
For each request, request metadata only: the model you asked for and the model that ran, token counts (input, output, cache), usage-bar readings, a session id, a comparison-group label, a difficulty score, whether it came from the terminal or the desktop app, and how many tokens were shortened. You can stop this by setting "reportUsage": false in ~/.troxy/config.json. The full text of any tool output Troxy shortens stays on your machine.
The optional hosted proxy, for Claude API keys only, is experimental and off by default. If you turn it on, requests pass through Troxy to Anthropic and Troxy sends a short excerpt of each request to Anthropic, using your own key, to decide which model fits. Troxy stores the resulting metadata, not the text. A Claude subscription login is never sent to Troxy.
Data in transit
All communication between your machine and the Troxy API is over HTTPS. Database connections require TLS, plaintext connections are rejected at the server level.
Authentication
API keys, generated as random tokens and stored in our database as bcrypt hashes. The raw key is never persisted. Keys can be revoked instantly from the dashboard and take effect immediately.
Dashboard sessions, authenticated via passwordless email sign-in (one-time code, expires in 15 minutes). Sessions are issued as signed JWTs valid for 30 days and stored only in your browser's local storage, not cookies, so they are not vulnerable to cross-site request forgery.
Secret management
Database credentials, JWT signing secrets, and all other sensitive configuration are stored in AWS Secrets Manager and fetched at runtime. Nothing sensitive is stored in source code, environment variables, or infrastructure configuration files.
What is stored in the request log
One record per request, containing the metadata listed above. Records are scoped to your account, you can see them in the dashboard, and no other user can access them.
We do not store conversation content, credentials, or raw API key values.
Data deletion
You can delete your account and all associated data at any time from the dashboard Settings page. Your data is deleted immediately.
Questions
If you have a security concern or question, contact us at support@troxy.io.