---
title: "Return the original input of a workflow (latest run)"
method: GET
path: "/workflow/{id}/input"
---

# Return the original input of a workflow (latest run)

`GET /workflow/{id}/input`

Returns the original input passed to the latest run of the given workflow. Works for workflows in any state, including running. To pin a specific run, use `/workflow/{id}/runs/{rid}/input`.

## Path parameters

- `id` string, required

## Response `200`

The workflow input

- WorkflowInputResponse
  - `workflowId` string, required — The workflow execution id
  - `runId` string, required — The specific run id the input was read from
  - `input` unknown, required

## Other responses

- `404` — Workflow execution, workflow type, or catalog not found
- `500` — Internal server error (e.g. Temporal connection failure)

## Changes

- **2026-07-03** `76902d9054a6` — 1 info
  - endpoint added
- **2026-03-13** `0f0e49049ef1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/growthxai/apis/output-ai-api/changes/workflow/:id/input/get.md)

---

[API](https://skmtc.dev/growthxai/apis/output-ai-api.md) · [All operations](https://skmtc.dev/growthxai/apis/output-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/growthxai/output-ai-api/revisions/09a49e598435/schema)
