---
title: "Get Workflow Status"
method: GET
path: "/v0/sites/{site_id}/workflows/{workflow_id}"
tags: ["sites"]
---

# Get Workflow Status

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

## Request

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

Retrieves the current status of a workflow.
Useful for polling workflow progress until completion.

## Path parameters

- `site_id` string, required
- `workflow_id` string, required

## Response `200`

- WorkflowStatusResponse
  - `active_description` string: Active description of current workflow step
  - `final_task` FinalTask
    - `messages` object: Detailed messages from the task
    - `reason` string: Reason for task completion or failure
  - `operations` WorkflowOperation[]: List of operations within the workflow
    - `description` string: Operation description
    - `id` string, required: Operation ID
    - `log_output` string: Log output from the operation (when available)
    - `result` 'succeeded' | 'failed' | 'running': Operation result
    - `run_time` number, double: Operation runtime in seconds
    - `type` string: Operation type
  - `result` 'succeeded' | 'failed' | 'running': Workflow result status
  - `step` integer: Current step number in workflow execution

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `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)
