---
title: "Get step HTML snapshot"
method: GET
path: "/v1/runs/{id}/steps/{stepId}/html"
tags: ["Runs"]
---

# Get step HTML snapshot

`GET /v1/runs/{id}/steps/{stepId}/html`

Serve the full-page HTML snapshot captured at a specific step via API key. Returns raw HTML. Only available when the run was started with capture_config.html: true.

## Path parameters

- `id` string, required — Run ID
- `stepId` string, required — Step ID (event ID)

## Response `200`

HTML snapshot

## Other responses

- `401` — Unauthorized - Invalid or missing API key
- `404` — Run, step, or HTML snapshot not found
- `500` — Internal server error

---

[API](https://skmtc.dev/tinyfish/apis/tinyfish-web-agent-automation-api.md) · [All operations](https://skmtc.dev/tinyfish/apis/tinyfish-web-agent-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tinyfish/tinyfish-web-agent-automation-api/revisions/bea716bc627d/schema)
