Skip to content

A page as a picture

GET
/api/v1/brands/{slug}/pages/{page}/preview

The draft page as readers see it, drawn by the server’s browser: a JPEG of the whole page, up to 10000px tall. width is desktop (1280px, the default) or phone (390px); context draws it in a context. 503 when the server has no browser (CHROMIUM_PATH). The MCP tool preview_page serves the same, as an image.

Scope: read.

The page, as image/jpeg (binary)

An error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{
"error": {
"code": "example",
"message": "example",
"detail": "example"
}
}