> ## Documentation Index
> Fetch the complete documentation index at: https://docs.krun.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Krun API base URL: https://api.krun.ai. Authenticate server-side with `Authorization: Bearer $KRUN_API_KEY`; never put a Krun API key in browser code.
> Prefer the Python SDK in examples: `pip install krun-ai`, `from krun import Krun`. The TypeScript SDK `@krun-ai/sdk` is not published on npm yet: do not tell users to `npm install` it.
> The only question type is `choice`. `confidence` is the top-1 minus top-2 probability margin, not the probability that the answer is correct. `choice` is null when `abstain` is true.
> Usage reports `input_tokens` only. There are no output tokens.

# Data controls

> Choose whether Krun may retain selected API requests and feedback to improve its models. Off by default.

By default Krun does **not** retain the content of your requests. It keeps only usage metadata and the model's numeric outputs, as described in [Production best practices](/guides/production-best-practices#privacy).

Organization owners can opt in to help improve Krun models.

## The setting

In the [Krun Console](https://console.krun.ai), open **Settings → Organization → Data controls** and turn on **Help improve Krun using my API requests**.

When enabled, selected requests and feedback may be retained to improve Krun models.

|                                                                            | Off (default) | On                                         |
| -------------------------------------------------------------------------- | ------------- | ------------------------------------------ |
| Usage metadata and numeric model outputs                                   | Recorded      | Recorded                                   |
| Request content (context, question, options or levels, the model's answer) | Not retained  | May be retained                            |
| Your [feedback](/guides/feedback)                                          | Stored        | Stored, and linked to the retained request |

* The setting applies to every project in the organization, including Console Playground runs.
* Only owners can change it. Members can see its current state.
* Retained content is stored encrypted and separately from usage data. It is never returned by the API or shown in the Console.
* It applies from the moment you change it. Requests made while it was off are never retained afterwards.

## Turning it off

Turn the switch off at any time. Krun stops retaining new requests and stops linking new feedback. Content retained while the setting was on is not deleted automatically. To ask about it, [contact support](/resources/support) with your organization id.

<Note>
  The setting doesn't change how requests are answered, billed or rate limited.
</Note>
