---
title: "List Workflows"
method: GET
path: "/agents/workflows"
tags: ["agentWorkflows"]
---

# List Workflows

`GET /agents/workflows`

List agent workflow executions with optional filters and cursor-based pagination.

## Query parameters

- `status` 'running' | 'completed' | 'failed' | 'cancelled' | 'timed_out' | 'terminated' — Filter by workflow status
- `agent_id` string, nullable
- `created_after` string, date-time, nullable
- `limit` integer
- `cursor` string, nullable

## Headers

- `Authorization` string, required

## Response `200`

Successful Response

- WorkflowListResponse — Paginated list of workflow executions.
  - `workflows` WorkflowStatusResponse[], required — Workflow executions
    - `workflow_id` string, required — Workflow ID
    - `agent_id` string — Agent that ran this workflow
    - `document_ref` string, nullable — Caller-provided document identifier.
    - `status` 'running' | 'completed' | 'failed' | 'timed_out' | 'cancelled', required — Status of a workflow execution.
    - `result` object, nullable — Result (if completed)
    - `started_at` string, date-time, required — Start time
    - `completed_at` string, date-time, nullable — Workflow completion time
  - `pagination` PaginationInfo, required — Cursor-based pagination metadata.
    - `next_cursor` string, nullable — Opaque cursor for fetching the next page
    - `has_more` boolean, required — Whether more results are available

## Other responses

- `401` — Authentication failed or no valid API key provided.
- `403` — Forbidden
- `404` — Agent not found
- `422` — Validation Error
- `500` — Internal Server Error
- `502` — Failed to list workflows

---

[API](https://skmtc.net/markup/apis/api-reference.md) · [All operations](https://skmtc.net/markup/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/markup/api-reference/revisions/8e28e770c55d/schema)
