---
title: "Get workflow execution status (latest run)"
method: GET
path: "/workflow/{id}/status"
---

# Get workflow execution status (latest run)

`GET /workflow/{id}/status`

Returns the status of the latest run for the given workflow. To pin a specific run, use `/workflow/{id}/runs/{rid}/status`.

## Path parameters

- `id` string, required

## Response `200`

The workflow status

- WorkflowStatusResponse
  - `workflowId` string — The id of workflow
  - `runId` string — The specific run id for this execution
  - `status` 'cancelled' | 'completed' | 'continued_as_new' | 'failed' | 'running' | 'terminated' | 'timed_out' | 'unspecified' — The workflow execution status
  - `startedAt` number — An epoch timestamp representing when the workflow started
  - `completedAt` number — An epoch timestamp representing when the workflow ended

## Other responses

- `404` — Workflow execution, workflow type, or catalog not found
- `500` — Internal server error (e.g. Temporal connection failure)

---

[API](https://skmtc.net/growthxai/apis/output-ai-api.md) · [All operations](https://skmtc.net/growthxai/apis/output-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/growthxai/output-ai-api/versions/09a49e598435/schema)
