---
title: "List runs"
method: GET
path: "/runs"
tags: ["Runs"]
---

# List runs

`GET /runs`

## Request

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

Returns a paginated list of workflow runs across all workflows.

## Query parameters

- `workflowId` string
- `status` string
- `triggerType` string
- `from` string, date-time
- `to` string, date-time
- `search` string
- `limit` integer
- `cursor` string

## Response `200`

Success

- object
  - `success` unknown
  - `data` Run[]
    - `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
  - `meta` Meta: Pagination metadata returned by list endpoints
    - `cursor` string, nullable
    - `hasMore` boolean
    - `total` number, nullable
    - `limit` number, nullable
    - `offset` number, nullable

## Other responses

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

---

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