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

# List runs

`GET /v1/runs`

List agent runs with optional filters.

## Query parameters

- `customerId` string
- `workflowId` string
- `status` 'PENDING' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELLED' | 'TIMEOUT'
- `from` string, date-time
- `to` string, date-time
- `limit` integer

## Response `200`

List of runs

- object — List of runs
  - `data` object[]
    - `id` string
    - `customerId` string
    - `customerName` string, nullable
    - `workflowId` string
    - `workflowName` string
    - `workflowSurface` string, nullable
    - `workflowChain` string, nullable
    - `status` string
    - `eventCount` integer
    - `totalCostUnits` string, nullable
    - `durationMs` integer, nullable
    - `startedAt` string, date-time, nullable
    - `endedAt` string, date-time, nullable
    - `createdAt` string, date-time
    - `errorMessage` string, nullable
    - `errorCode` string, nullable
  - `count` integer

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/usedrip/apis/drip-api.md) · [All operations](https://skmtc.net/usedrip/apis/drip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usedrip/drip-api/revisions/2cb1567969ca/schema)
