# AI assists

The per-account switches for the features that send aggregated counts to a model to draft rule suggestions, what is sent and never sent, the model provider, the monthly draft limit and how the data is handled.

AI assists are the features that send aggregated counts from your account to a model to draft something a person then reviews: today, checkout and traffic rule suggestions. Each assist has its own switch, every switch is off until an owner or admin turns it on, and nothing a model writes is applied without a person.

## When to use it

- Turn on **Checkout rule drafts** to get [rule suggestions from your orders](https://provenanceauth.com/docs/authorize/guides/rule-suggestions.md).
- Turn on **Traffic rule drafts** to get [traffic rule suggestions](https://provenanceauth.com/docs/identify/guides/traffic-rule-suggestions.md).
- Check what an assist sends, and how many drafts are left this month.

## How it works

1. **An owner or admin turns an assist on** in **Account → AI assists**, after reading the data notice: what is sent, to whom, and that nothing is applied without a person. The console records the notice version they accepted and who changed the switch.
2. **Statistics build the input** from your own orders or traffic: totals, candidate groups with their counts, your rule catalog and your current rules as conditions. Only these fields can be sent.
3. **The model drafts, and checks decide.** Its answer is checked against your catalog, counted again on your data and backtested; a draft that fails is dropped. A draft that passes is shown as a suggestion and counts toward your monthly limit.

Turning an assist off stops its runs at once. Suggestions already shown stay readable.

## The switches

| Assist | What it drafts | Needs |
| --- | --- | --- |
| Checkout rule drafts | Checkout rules from your labelled orders | Orders sent to Provenance from your store |
| Traffic rule drafts | Traffic rules from your recorded decisions | Recorded traffic, and orders for fraud-linked drafts |

Rule drafts are on the Pro plan and above, with a few drafts during the Free trial. Each plan has a monthly draft limit, on the [pricing page](https://provenanceauth.com/pricing); at the limit, drafts resume on the first of the next month. Reported order outcomes and backtests don't count toward it. A deployment without a model provider shows the assists as not available.

Read the switches and this month's use with an account key or a console session:

| Endpoint | Returns |
| --- | --- |
| `GET /v1/account/ai_assists` | Each assist with `on`, `available` and `entitled`, the provider and model names, the notice version, and `cap` (`limit`, `used`, `resets_at`) |
| `GET /v1/account/ai_assists/usage` | This month's runs and drafts shown per assist, and `cap` |
| `PUT /v1/account/ai_assists` | Turns assists on or off. A signed-in owner or admin only, never an API key; turning one on sends the `notice_version` the person read |

Each change is recorded in your account's security events. No webhook is sent.

## What is sent

| Assist | Sent | Never sent |
| --- | --- | --- |
| Checkout rule drafts | Order totals and the window; up to 30 candidate groups as conditions with their order, flagged and disputed counts and rates; the store fields of your rule catalog with the values you've seen for short lists such as country codes and channel names; your live checkout rules as text and conditions | Order ids, names, emails, phone numbers, addresses, IPs, pseudonyms, customer and passkey ids, list entries, product ids and SKUs, labels and notes you wrote, request fields, raw timing values, another company's data |
| Traffic rule drafts | Decision totals, visits that reached checkout and flagged counts; up to 30 groups over the traffic facts with their counts and recorded actions; your traffic rules as text and conditions | Paths (only the route map's action name), pseudonyms, key ids, intent ids, agent directory URLs, vendor payloads, IPs, user agents |

Every group sent covers at least 10 orders or visits; smaller ones are merged or left out. Network facts appear only as your own assessments recorded them, which means only if your account contributes to network signals and only past the network's privacy floor.

## The provider

The model provider is Anthropic, used as a subprocessor through its API under its standard commercial API terms, with zero retention requested. The provider's retention period and its terms on training are stated on the subprocessors page, and assists send no customer data before that listing is in place. The console's data notice names the provider and the model.

A self-hosted deployment chooses its own provider or none ([server configuration](https://provenanceauth.com/docs/self-host/configuration.md#ai-assists)).

## Data handling

| Data | Kept | Export and delete |
| --- | --- | --- |
| The prompt, the input and the raw answer | Never stored or logged; only their hashes are kept with the run | Nothing to export |
| Suggestions (the rule, the evidence, the backtest, the explanation) | Until you delete your account | In the account export; removed when you delete your account |
| The switches and the notice version accepted | Until you delete your account | Same |
| This month's runs and drafts shown | Per month, until you delete your account | Same |
| Reported order outcomes and the order facts rule drafts read | With the order | Same; removed with the order |

Export your account with `GET /v1/account/export`; `DELETE /v1/account` removes all of it.

## Related

- [Get rule suggestions from your orders](https://provenanceauth.com/docs/authorize/guides/rule-suggestions.md)
- [Get traffic rule suggestions](https://provenanceauth.com/docs/identify/guides/traffic-rule-suggestions.md)
- [Plans and usage](https://provenanceauth.com/docs/account/plans-and-usage.md)
- [Sign-in, two-factor and teams](https://provenanceauth.com/docs/account/sign-in-and-teams.md): owner and admin roles
