---
title: "Get paginated workflow execution history"
method: GET
path: "/workflow/{id}/history"
---

# Get paginated workflow execution history

`GET /workflow/{id}/history`

Returns decoded Temporal history events with optional payload inclusion. First page includes workflow metadata; subsequent pages return events only.

## Path parameters

- `id` string, required

## Query parameters

- `runId` string
- `pageSize` integer
- `pageToken` string
- `includePayloads` boolean
- `longPollTimeoutMs` integer

## Response `200`

Paginated history events

- object
  - `workflow` object, nullable — Workflow metadata (null on subsequent pages)
  - `events` object[]
  - `runId` string — Resolved run ID. Echo this value as the runId query parameter when fetching subsequent pages.
  - `nextPageToken` string, nullable

## Other responses

- `400` — Invalid request body, query, or pagination token
- `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/revisions/09a49e598435/schema)
