---
title: "Render a wireframe preview image (PNG)"
method: GET
path: "/api/wireframe/{id}/preview"
tags: ["sharing"]
---

# Render a wireframe preview image (PNG)

`GET /api/wireframe/{id}/preview`

## Request

- Base URL: `https://voltplan.app`
- URL: `https://voltplan.app/api/wireframe/{id}/preview`
- Auth: none declared

Renders the PocketBase `wireframe_states` record `id` (with its components) to PNG. Read with the unauthenticated server PocketBase client; does not use the share token. Falls back to SVG when PNG conversion yields nothing, and to a generic VoltPlan SVG (shorter cache) when rendering throws. Any lookup failure answers 404.

## Response `200`

Preview image: PNG, or SVG when PNG conversion is unavailable or rendering failed.

## Other responses

- `404`: Record missing or not readable.

---

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