---
title: "List Workflows"
method: GET
path: "/v0/sites/{site_id}/workflows"
tags: ["sites"]
---

# List Workflows

`GET /v0/sites/{site_id}/workflows`

## Request

- Base URL: `https://api.pantheon.io`
- URL: `https://api.pantheon.io/v0/sites/{site_id}/workflows`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pantheon/apis/pantheon-public-api-service/docs/v0/sites/:site_id/workflows/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists all workflows for a specific site.
Returns the most recent workflows ordered by creation time.

## Path parameters

- `site_id` string, required

## Response `200`

- WorkflowList
  - `workflows` WorkflowInfo[], required: List of workflows
    - `created_at` number, double: Workflow creation timestamp
    - `description` string: Workflow description
    - `environment` string: Environment name
    - `finished_at` number, double: Workflow completion timestamp
    - `id` string, required: Workflow ID
    - `result` 'succeeded' | 'failed' | 'running': Workflow result status
    - `started_at` number, double: Workflow start timestamp
    - `total_time` number, double: Total elapsed time in seconds
    - `type` string: Workflow type identifier
    - `user_email` string: Email of user who initiated the workflow

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

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