> For the complete documentation index, see [llms.txt](/llms.txt).
> A full single-fetch corpus is available at [llms-full.txt](/llms-full.txt).
---
title: "Import from a run"
description: "Add an item to the draft from a completed workflow run, capturing its actual input and output."
method: "POST"
endpoint: "/api/v1/projects/:projectId/datasets/:id/import/run"
order: 11
group: "Import"
last_verified: 2026-07-27
---



`POST /api/v1/projects/:projectId/datasets/:id/import/run`

Add an item to the draft from a completed workflow run, capturing its actual input and output.


  #### Body parameters
  - `run_id` _string_ **required** — The run to import.
  - `expected_output` _object_ — Override the expected output. Defaults to the run's actual output.



