# Data and privacy

> Exactly what KwikQA sends, where it goes on each plan, what the hosted service stores, and what stays on your machine.

## What is sent

Only the redacted evidence packet you approve in a preview, built from your failing tests; passing tests are only counted. It contains selected report fields, trace events or the Cypress and WebdriverIO command log, the page elements around each failed locator or selector, the accessibility snapshot of the page at the failure, network requests (never their bodies) and console errors, short source excerpts, and recent code changes that mention the failure. Password and token field values, authorization and cookie headers, credentials in URLs, and other sensitive fields are masked before the preview. Masking recognizes credentials, not every kind of personal data: names or email addresses in your test data can still appear, so test with data you may share. It never contains full files, full diffs, your repository, the full page DOM, or image pixels; screenshots and videos are described by size and dimensions only. If you use `--capture`, it can also contain the locators Playwright generated for elements on the live page. For Cypress and WebdriverIO, `--capture` records each failed attempt's page into `.kwikqa/capture/` on your machine; only the parts around the failure enter the packet, and text typed into password, token, or card fields is never shown. Run `npx kwikqa analyze --local` to see the summary KwikQA would build, without sending anything.

Code changes are matching hunks of source files from your uncommitted changes and your branch's recent commits (at most 12), with commit subject lines. Author names, emails, commit bodies, and documentation are never read. `--no-changes` leaves them out.

## Where it goes

| Plan | Path |
| --- | --- |
| Hobby, Pro, Teams, and Enterprise | Your machine → KwikQA service → OpenRouter → the model endpoint named in the preview, with zero data retention: Claude on Google Cloud Vertex AI, or GPT on Microsoft Azure for a repair retry |
| BYOK, BYOK Teams, and BYOK Enterprise | Your machine → your model endpoint (OpenRouter, the Anthropic API, the OpenAI API, Azure OpenAI, Amazon Bedrock, or GitHub Models) → your chosen model, under your own account's settings. KwikQA's default OpenRouter routes ask for zero data retention; on the other endpoints, retention follows your account with that provider. The CLI reports only the request's kind, model, provider, and test framework to KwikQA, to count it. |

The KwikQA service forwards the payload unchanged, and refuses a hosted request that doesn't ask for [zero data retention](https://kwikqa.com/security/#zdr). It stores account, plan, and usage records and, for each request, its kind, model, provider, test framework, status, token counts, cost, and a hash of the payload. It also stores the [result counts](https://kwikqa.com/docs/data/#results) below. It never stores the evidence, your source, or the model's answer, which it holds in memory until your CLI collects it, for at most 15 minutes. [Security](https://kwikqa.com/security/#retention) lists how long each record is kept.

## Team insights

If your organization's admins turn on [insights](https://kwikqa.com/docs/account/#insights), your CLI also shares the names, files, and projects of failing and flaky tests, their test framework, and the outcome of each fix with your organization. It never shares evidence, source, diffs, or error messages, and `--local` runs share nothing. `npx kwikqa status` shows whether insights are on.

## Result counts

From kwikqa 0.6.0, when you're signed in, the CLI reports each result to KwikQA as codes and counts, so we can see which kinds of failure it diagnoses and repairs well: the stage (analysis, fix, validation, a fix pull request opened, or a fixed test failing again), its outcome and reason codes, the test framework, the CI system, and the kind of failure: the symptom, the probable owner, the cause, how strong the evidence was, and the kind of file a fix changed (a spec, page object, fixture, test data, helper, or config); and counts: failure groups, failing and flaky tests, files and lines changed. From kwikqa 0.7.0, an analysis or a fix also names the usage sessions and retry tickets behind its model requests, as SHA-256 hashes that the service already keeps with each request, so we can count our model cost by kind of failure; the tickets themselves are never sent. It never reports test names, file paths, error messages, evidence, source code, or the model's own words, and the service refuses anything else. Results count for your organization, never for you by name. It's on by default. Turn it off for yourself on your [Account](https://kwikqa.com/dashboard/account/) page; a company's admins can turn it off for everyone on the Organization page. `--local` runs report nothing, and `KWIKQA_RESULTS=off` turns it off for one run or CI job.

## From CI

[`kwikqa ci`](https://kwikqa.com/docs/ci/) sends KwikQA what `analyze` sends, plus where the run happens. On each request from a CI job, the CLI sends the CI system, the repository's host, owner, and name, and its visibility when the CI system gives it. KwikQA 0.9.0 and earlier also send the login of the pull request's author, from when plans were priced per seat; the service ignores it and keeps nothing from it. The service keeps the repository only as a keyed hash, for the month it counts in. What `kwikqa ci` publishes goes only to your own systems, with your own credentials:

- **GitHub Actions.** It writes the job summary, and comments on the pull request through GitHub's API with the job's `GITHUB_TOKEN`.
- **Azure Pipelines.** It attaches the build summary, and writes the pull-request thread through Azure DevOps' API with the build's `System.AccessToken`.
- **GitLab CI/CD.** It prints the summary in the job's log, and writes the merge-request note through GitLab's API with your `GITLAB_TOKEN`.
- **Jenkins.** It prints the summary in the console log, and comments through the API of the pull request's host, GitHub or GitLab, with the token your Jenkinsfile binds. It calls only the https host the build's branch source names.
- **Fix pull requests.** With a [`ci.fix` policy](https://kwikqa.com/docs/configuration/#ci), `kwikqa fix` commits its validated repair through your code host's API with the same token, on a new `kwikqa/fix-` branch, and opens a draft pull request. Its description holds the diagnosis and the repair's intent; the evidence stays in the report.
- **What a summary holds.** The summary and comment list the failure groups, their owners, and the flaky tests. The evidence stays in the report.
- **Slack and Teams.** It posts to the webhooks you store as CI secrets. A message holds no error text, evidence, or source code.

KwikQA never prints a token or webhook URL, and never writes one to the report, the summary, `.kwikqa/`, or the KwikQA service.

## What stays on your machine

| Location | Contents |
| --- | --- |
| `kwikqa-report.html` | The failure report that `ci`, `analyze --html`, and `report` write. It holds the redacted evidence of your failing tests, so share it the way you share CI logs. |
| `.kwikqa/runs/` | Run records: diagnoses, proposals, outcomes, and reason codes. |
| `.kwikqa/repairs/` | Repair sessions and attempts. |
| `.kwikqa/validation-artifacts/` | Output of validation runs. |
| `.kwikqa/capture/` | Files `--capture` writes, including the pages it records for Cypress and WebdriverIO. |
| User config directory | Your CLI sign-in token, with owner-only permissions. |

## Your controls

- Decline any request at its preview; nothing is sent.
- Use `--local` to keep analysis entirely on your machine.
- Use `--no-changes` to leave recent code changes out of the packet.
- Use a BYOK plan to keep evidence off KwikQA's servers.
- Turn off [result counts](https://kwikqa.com/docs/data/#results) on your Account page, or for one run with `KWIKQA_RESULTS=off`.
- Export or delete your account data from [Account](https://kwikqa.com/dashboard/account/).

The [privacy policy](https://kwikqa.com/privacy/) has the full details.

---

Source: https://kwikqa.com/docs/data/, updated 2026-11-22
