---
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)

---

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