# What Autopilot sends to your AI provider

Autopilot and Verify work by sending text to an AI provider. In **Settings → AI → Autopilot**, **See details** under **Analyse merged pull requests** lists what's sent to the AI provider. With that switch off, Autopilot and Verify send nothing.

## What's sent

For each merged pull request:

- its title, labels and description, and the first line of each commit message;
- the paths of the files it changed, and the diff;
- the repository files Autopilot looks up, at the merge commit;
- the help center articles and drafts it reads to find what to fix;
- the title, text and status of the open posts the pull request may complete.

When [Verify](https://tuti.so/help/docs/verify-articles) checks an article, it sends the article, the repository's file paths and the few files it picks. Long diffs and files are cut short.

## What's left out

These files' contents are never sent:

- files that usually hold secrets: `.env` files, keys, certificates and credential files;
- lockfiles and generated files, such as build output and source maps;
- binary files, such as images and archives.

## What's masked

In descriptions, commit messages, diffs and repository files, strings that look like secrets are replaced with `[secret]`: private keys, access tokens in well-known formats, passwords in connection strings, and values assigned to names like `password` or `api_key`.

> Masking works on patterns and can miss a secret in an unusual format. Keep secrets out of your repository.
