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

# Get step screenshot

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

## Request

- Base URL: `https://agent.tinyfish.ai`
- URL: `https://agent.tinyfish.ai/v1/runs/{id}/steps/{stepId}/screenshot`
- Auth: API key in header `X-API-Key`

Serve the JPEG screenshot captured at a specific step via API key. Returns binary image data. Note: screenshots=url on GET /v1/runs/{id} returns browser-accessible URLs at /runs/{id}/steps/{stepId}/screenshot (session auth).

## Path parameters

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

## Response `200`

JPEG screenshot image

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `404`: Run, step, or screenshot not found
- `500`: Internal server error

---

[API](https://skmtc.dev/tinyfish/apis/tinyfish-web-agent-automation-api-2.md) · [All operations](https://skmtc.dev/tinyfish/apis/tinyfish-web-agent-automation-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/tinyfish/apis/tinyfish-web-agent-automation-api-2/revisions/6c73a54df35c?raw)
