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

# Import Chat Completions

Data Lab allows you to import historical **chat completion logs** into structured datasets for analysis and reuse.

### Source of chat completions

Chat completions may come from:

* API requests to Nebius Token Factory
* Playground interactions

Each completion may include:

* Input messages (system, user, assistant, tool)
* Model outputs
* Metadata (model name, timestamps, token usage, errors, etc.)

### Zero Data Retention (ZDR) behavior

Data import is subject to **Zero Data Retention** settings:

* When ZDR is **enabled**, chat completion logs are not stored.
* When ZDR is **disabled**, chat completion logs are collected and available for import.
* If ZDR was enabled during part of the selected time range, only the periods with ZDR disabled will be imported.

<Note>
  Importing a time range where ZDR was fully enabled will result in an empty import.
</Note>

### Import workflow

1. Click **Import completions**
2. Specify the time range, model, and a name for the import
3. Click **Start import** to initiate the process
4. Imported completions appear as a new dataset in Datasets tab inside Data Lab

Imported datasets can then be:

* Filtered and transformed by sql
* Downloaded
* Used for batch inference or fine-tuning

### Typical use cases

* Reviewing real production prompts and responses
* Debugging incorrect or unexpected model behavior
* Building evaluation datasets from real usage
* Preparing training data without manual logging
