> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Return workflow status

> Success

### Path parameters

<ParamField path="workflow_id" type="string (string)" required />

### Response

`WorkflowStatusResponse`

<ResponseField name="status" type="string" />

<ResponseField name="phase" type="string" />

<ResponseField name="reviewed" type="boolean" />

### Status codes

| Code | Meaning |
| - | - |
| `200` | Success |
| `400` | Validation error |
| `401` | Unauthorized |
| `404` | Not found |
| `429` | Rate limited |
| `500` | Internal error |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.workstream.stateset.com/v1/workflows/return/{workflow_id}/status' \
    --header "x-api-key: $STATESET_TEMPORAL_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "status": "pending",
    "phase": "string",
    "reviewed": true
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.