Overview
A dataset is a table of rows: what your agent was asked, what it said, what your evals thought of it, and what it should have said. Fill it from production, label it, export it for a fine-tune or a test set.
A dataset is a table of examples: what your agent was asked, what it said, what your evals said about it and, once someone has decided, what it should have said. It is how production traffic becomes a test set or fine-tuning data.
It sits at the fixing end of the loop. Your evals score every trace and flag what went wrong; a dataset keeps those cases, so you can label the right answer, try a fix against them in the Playground or with a labeling agent, and train on them.
Open Develop → Datasets. New dataset asks for a name and opens the empty table.

What a row is
| Column | What it holds |
|---|---|
| Input | What the agent was given. A row from production holds the conversation, every message with its role, plus the prompt variables when the call used a managed prompt. A row you type or import holds your own columns, one per variable. |
| Output | What the agent said, for rows from production: the whole assistant message, tool calls included. |
| Expected | What it should have said. Empty until someone sets it; see Label. |
| Evaluations | The verdicts your evals gave the run, span or conversation the row came from, with any thumbs a person gave them. |
| Metadata | Free-form JSON for slicing, such as {"channel": "email"}. |
| Links | The run, span, conversation or verdict the row came from. Click one to open it. When it has aged out of trace retention it shows expired, and the row keeps its own copy. |
Columns hides or shows Links, Output, Expected, Evaluations, Metadata, Created and Updated. Filter narrows the rows by a column's value, and the search box looks through every column.

Every row has an id that never changes. Edits keep it, and removing a row archives it rather than deleting it, so a script or agent that read a row can always write back to it.
Expected can be a string, a message or an object, such as a rubric a judge grades against:
{ "sample_reply": "Refunds are accepted within 30 days.", "must_mention": ["30 days"] }Where rows come from
| From | How |
|---|---|
| Production | Tick runs, spans, conversations or eval results in a table and choose Add to dataset…, or add a source: a saved filter that copies what matches, once or every 15 minutes. See Fill from production. |
| You | + Add → Import a CSV, spreadsheet or JSON file, Add row to type one, or append rows from code with the SDK or CLI. See Add your own rows. |
| Lucid | Ask it to build a dataset or add a source; it shows an approval card first. |
A row from production starts with Input, Output, Evaluations and Links filled, and Expected empty.
Versions
Every change to the rows saves a numbered version on its own: a source run, an import, a save in the table, a labeling agent's run, a script's update. ⋯ → Versions lists them, newest first, with what made each one and how many rows it holds. Restore brings an older version back as a new version, so nothing is lost, and rows keep their ids.

An export can name a version, so a training set stays reproducible.
What it costs
Adding rows costs one Execution per 1,000 new rows, rounded up, counted for each add on its own: a source run, an import, Add to dataset, a save with new rows, an SDK or CLI append, or an agent's Add rows to a dataset step. So 1 to 1,000 rows is 1 Execution and 2,500 rows is 3. Rows the dataset already holds cost nothing.
Editing, setting Expected, archiving, restoring a version and exporting are free. When an add would go over your organization's allowance, nothing is written: the source shows Out of executions, and an import or Add to dataset says so. See Plans & billing.
Notifications & monitoring
Where an alert sends when it fires, how to write the message and its variables, what the webhook receives, and how to read an alert's page: its value over time, its fires and where each was sent.
Fill from production
Turn real traffic into dataset rows: tick runs, spans, conversations or verdicts and add them, or add a source, a saved filter on eval results that copies what matches once or keeps adding new matches every 15 minutes.