Screenshot
Loads a web page in headless Chromium and captures it as an image, including content built by JavaScript. The page and every request it makes follow the server fetch policy.
Use thumbnail for small link previews. Pages that keep polling the network never reach networkidle; use load with a delay instead.
HTTPBearerAuthorizationBearer <token>Static API key from PAPYRUS_API_KEY
- body
source*Sourcehttp(s):// URL of the page, navigated by the browser
destination?|Connector URI to write the result to
nulloutput?OutputModejson returns the envelope with the artifact inline, file returns the artifact as the response body; with a destination the response is always the light JSON envelope
"file""file""json"options?Operation options, omitted fields take their defaults
The JSON envelope (light with a destination), or the op file for output=file
- response
source*The input document
result*The primary artifact
options*The request options with defaults applied
{
"source": {
"uri": "https://axelered.com",
"fetch": {
"url": "https://axelered.com/",
"status": 200
}
},
"result": {
"name": "axelered.com.webp",
"size": 109976,
"mimeType": "image/webp",
"extension": "webp",
"label": "webp",
"group": "image",
"width": 1280,
"height": 4096,
"encoding": "base64",
"content": "UklGRpCtAQBXRUJQVlA4WAoAAAAgAAAA/wQA/w8A…"
},
"options": {
"width": 1280,
"height": 800,
"fullPage": true,
"scale": 1,
"waitUntil": "networkidle",
"delay": 0,
"format": "webp"
}
}Thumbnail POST
Fits one page, image or web page into a fixed box, a 256 × 256 px WebP by default, for file lists, search results and link previews. A URL that serves HTML, such as `https://axelered.com`, is captured in a browser at desktop width. Use render when you need a page at reading size.
Inspect POST
Detects the format of a document and checks it, without processing it. Returns the format facts of `source`, plus `checks`. Every format is accepted: a file Papyrus cannot process is reported with the type it was detected as, or as `unknown`. Use it to route documents before sending them to Markdown or render, or to flag uploads whose name does not match their content. A failed check never rejects the file. Inspect produces no file, so the response has no `result` and the request takes no `output` or `destination`. An http(s) URL without an extension in its path takes the extension of the response `Content-Type`, so `extensionMatch` then compares the content with what the server declared.