---
title: "Inspect a workflow run and its step results"
method: GET
path: "/workflow-runs/{id}"
tags: ["Workflows"]
---

# Inspect a workflow run and its step results

`GET /workflow-runs/{id}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/workflow-runs/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Path parameters

- `id` string, required

## Query parameters

- `workspace_id` string, required

## Response `200`

OK

- WorkflowRun
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `created_at` string, date-time, required
  - `current_step_id` string
  - `definition` WorkflowDefinition, required
    - `schema` integer, required
    - `source` WorkflowSource, required
      - `$schema` string, uri: A URL to the JSON Schema for this object.
      - `account_ids` string[], nullable
      - `connection_id` string
      - `include_prereleases` boolean
      - `interval_minutes` integer
      - `kind` 'manual' | 'github_release' | 'rss' | 'rendition_published' | 'interval' | 'publication_created' | 'rendition_failed', required
      - `repository` string
      - `url` string
    - `steps` WorkflowStep[], nullable, required
      - `else` WorkflowStep[], nullable
      - `id` string, required
      - `inputs` object, required
      - `kind` 'create_draft' | 'build_draft' | 'approval' | 'schedule' | 'reply' | 'wait' | 'condition' | 'metrics' | 'http_request' | 'code' | 'ai_text' | 'ai_decision' | 'set_fields' | 'text' | 'parse_json' | 'list_filter' | 'list_sort' | 'list_limit' | 'merge' | 'date' | 'tracking_link' | 'read_feed', required
      - `name` string, required
      - `then` WorkflowStep[], nullable
  - `error` string
  - `id` string, required
  - `mode` string, required
  - `revision` integer, required
  - `source` object, required
  - `state` string, required
  - `steps` WorkflowStepResult[], nullable, required
    - `completed_at` string, date-time
    - `error` string
    - `inputs` object, required
    - `kind` string, required
    - `name` string, required
    - `output` object, required
    - `started_at` string, date-time, required
    - `state` string, required
    - `step_id` string, required
  - `updated_at` string, date-time, required
  - `wake_at` string, date-time
  - `workflow_id` string, required
  - `workflow_name` string, required
  - `workflow_revision` integer, required
  - `workspace_id` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
