Export
Download a dataset's rows as JSONL: Trodo rows, OpenAI-style chat fine-tuning examples or DPO pairs, chosen by Expected or by eval results, from the app, the CLI, a script or the SDKs.
An export is a dataset's rows as JSONL, one row per line, in the shape a fine-tune or an offline test wants. You choose which rows (by Expected, or by what your evals said), the format, and the version. Exports are free, and every pull is recorded.
From the app
Open the dataset and choose ⋯ → Export. Pick the Rows, what to download them As, the Target for fine-tuning examples, and the Version, then Download. To export only some rows, tick them in the table and choose Export in the bar at the bottom.

Which rows
| Option | Values |
|---|---|
rows | all (default), expected (rows with an Expected), no_expected, passed (every eval's newest verdict on the row passed, after people's corrections), failed (an eval's newest verdict failed), marked_wrong (a person marked a verdict wrong) |
eval | An eval's name or id: passed, failed and min_score then look at that eval only. |
min_score | Keep rows whose verdicts all scored at least this. |
version | A saved version's number. Leave it out for the live rows. |
since | Only rows created, edited or labelled since this ISO time. |
ids | A comma-separated list of row ids. |
To train on what went well, export rows=passed with target=output: no labeling needed. To train on the corrected failures, export rows=expected. Pin a version when the result must be reproducible.
As what
format | Each line is |
|---|---|
trodo (default) | The row as below. |
openai | {"messages": [...]}: the row's input messages, then the assistant's answer. OpenAI's chat fine-tuning format, which Fireworks and Together take as it is. Tool calls keep OpenAI's shape. |
dpo | {"input": {"messages"}, "preferred_output": [Expected], "non_preferred_output": [Output]}, only for rows that have both and where they differ. |
For openai, target picks the assistant's answer: expected_else_output (default), output (what the agent said) or expected. A row with no input or no answer is skipped, and the app (or the CLI) says how many.
The row
{
"id": "4f1c...",
"dataset_id": "9a02...",
"dataset_version": 3,
"unit_kind": "run",
"input": { "messages": [{ "role": "user", "content": "Where is my refund?" }] },
"output": "Refunds take 5 to 7 days.",
"expected": "Refunds take 5 to 7 business days after we receive the item.",
"evaluations": [{ "name": "Refund answers", "version": 2, "passed": false, "reason_code": "MISSING_CONDITION", "steps": [ ... ] }],
"why_failed": ["Refund answers: Judge (MISSING_CONDITION) — ..."],
"label_source": "explicit",
"label_status": "confirmed",
"metadata": {},
"source": { "run_id": "...", "conversation_id": "...", "agent": "support-agent" }
}inputholdsmessagesfor a row from production, orvariablesfor a row of your own.evaluationsare the verdicts on the row, each with its steps, a judge's reasoning and any correction a person gave it.why_failedhas one line per eval whose newest verdict failed: where it ended, its reason code and a judge's reasoning. It is what a labeling agent or a script reads to write a better answer.label_sourcesays who wrote Expected:explicit(a person),derived(an agent or a script that said so) ornone.traceis added for a run row kept with Keep every span of each run: every span in start order, withparent_span_id, so the tree can be rebuilt.
From the CLI
The CLI takes every option. Sign in once with trodo login, then:
trodo datasets export support-failures --rows passed --format openai --target output -o train.jsonlFrom code, the SDKs' rows() returns the same rows with your Trodo API key (TRODO_API_KEY):
const examples = await trodo.datasets.rows('support-failures', { rows: 'passed', format: 'openai', target: 'output' });examples = list(trodo.datasets().rows("support-failures", rows="passed", format="openai", target="output"))From a script or CI
A script, a CI job or a training job uses the CLI or the SDKs above with a Trodo API key set as TRODO_API_KEY, instead of trodo login. Make the key in Settings → API keys; it is shown once.
export TRODO_API_KEY=trodo_mk_...
trodo datasets export support-failures --rows passed --format openai --target output -o train.jsonlFrom MCP
An AI assistant connected through the MCP server exports with manage_dataset. It gets a one-shot link, never the rows, so your data is not pasted into a chat. The link works once, for 15 minutes, and the pull is recorded like any other.
Label
Fill Expected, the answer each row should have had: by hand, from verdict corrections, with a labeling agent that runs your models over the rows, or from a script.
Overview
Keep your agent's prompts in Trodo: version them, mark the live one with a label, and let your app fetch it by name, so a prompt change ships without a deploy.