---
title: "Get workflow run by ID"
method: GET
path: "/api/v1/workflows/runs/{id}"
tags: ["Workflows"]
---

# Get workflow run by ID

`GET /api/v1/workflows/runs/{id}`

## Request

- Base URL: `https://api.korala.ai`
- URL: `https://api.korala.ai/api/v1/workflows/runs/{id}`
- Auth: none declared

Returns the current status and results of a workflow run.

## Path parameters

- `id` string, required

## Headers

- `X-Korala-Mode` 'live' | 'test'

## Response `200`

- WorkflowRunWithStepsDto
  - `sandbox` boolean, required: Persisted execution mode: true for test data
  - `id` string, required
  - `workflowDefinitionId` string, required
  - `organizationId` string, nullable
  - `status` 'pending' | 'running' | 'paused' | 'completed' | 'failed', required
  - `inputData` object, nullable
  - `outputData` object, nullable
  - `currentStep` number, required
  - `errorMessage` string, nullable
  - `inputFileUrl` string, nullable
  - `inputFileMimeType` string, nullable
  - `startedAt` string, date-time, nullable
  - `completedAt` string, date-time, nullable
  - `createdAt` string, date-time, required
  - `stepRuns` WorkflowStepRunDto[], required
    - `id` string, required
    - `workflowRunId` string, required
    - `stepIndex` number, required
    - `stepType` 'capture' | 'ocr' | 'extract' | 'validate' | 'enrich' | 'check' | 'risk' | 'output' | 'review' | 'webhook', required
    - `status` 'pending' | 'running' | 'paused' | 'completed' | 'failed' | 'skipped', required
    - `inputData` object, nullable
    - `outputData` object, nullable
    - `errorMessage` string, nullable
    - `processingTimeMs` number, nullable
    - `createdAt` string, date-time, required
    - `completedAt` string, date-time, nullable

## Other responses

- `400`: Malformed UUID in path parameter (`id`).

---

[API](https://skmtc.dev/korala/apis/korala-public-api.md) · [All operations](https://skmtc.dev/korala/apis/korala-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/korala/apis/korala-public-api/revisions/5c4d7810c507?raw)
