---
title: "Get a run"
method: GET
path: "/runs/{id}"
tags: ["Runs"]
---

# Get a run

`GET /runs/{id}`

## Request

- Base URL: `https://workflow.loopfour.ai/api/v1`
- URL: `https://workflow.loopfour.ai/api/v1/runs/{id}`
- Auth: API key in header `x-api-key`

Returns details of a specific workflow run. Syncs status from the execution engine if the run is in progress.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `success` unknown
  - `data` Run: Full run details returned by GET /runs/{id}
    - `id` string
    - `workflowId` string
    - `triggerDevRunId` string, nullable: Trigger.dev run that executed this workflow run; null if never dispatched. Returned by GET /runs/{id}, not by run lists.
    - `status` 'pending' | 'running' | 'waiting_approval' | 'completed' | 'failed' | 'suspended' | 'cancelled'
    - `triggerType` string
    - `input` object, nullable
    - `output` object, nullable
    - `startedAt` string, date-time, nullable
    - `completedAt` string, date-time, nullable
    - `durationMs` number, nullable
    - `error` object, nullable
    - `createdAt` string, date-time

## Other responses

- `400`: Bad request — invalid parameters or request body.
- `401`: Missing or invalid API key.
- `403`: Forbidden — insufficient permissions for this resource.
- `404`: Resource not found.

---

[API](https://skmtc.dev/loopfour/apis/loopfour-workflows-api.md) - [All operations](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/revisions/872822a3af00?raw)
