---
title: "Fetch a browser screenshot"
method: POST
path: "/browser-sessions/artifact"
tags: ["Agent browsers"]
---

# Fetch a browser screenshot

`POST /browser-sessions/artifact`

Returns screenshot as base64 PNG, or null when absent. artifactId is the command ID from the result. Request bodies are limited to 64,000 characters.

## Request body

- object
  - `projectId` string, required
  - `sessionId` string, required
  - `artifactId` string, required

## Response `200`

Returns screenshot as base64 PNG, or null when absent. artifactId is the command ID from the result.

- object
  - `screenshot` string, nullable, required — Base64-encoded PNG when present.

## Other responses

- `400` — Invalid request or policy
- `401` — Authentication required
- `403` — Access denied
- `404` — Session not found or not owned by caller
- `409` — Session closed or conflicting command ID
- `429` — Rate limited
- `502` — Browser control plane unavailable

## Changes

- **2026-09-09** `96954aa994ef` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mcpjam/apis/mcpjam-api/changes/browser-sessions/artifact/post.md)

---

[API](https://skmtc.dev/mcpjam/apis/mcpjam-api.md) · [All operations](https://skmtc.dev/mcpjam/apis/mcpjam-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mcpjam/apis/mcpjam-api/revisions/2cee87b1803b?raw)
