Get a screenshot
Returns the screenshot with fresh signed URLs for its artifacts.
GET
/v1/render/screenshots/{screenshot_id}
Returns the screenshot with fresh signed URLs for its artifacts.
Authentication
Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)
Path Parameters
screenshot_id
string
required
path
The screenshot ID (`shot_…`).
Example:
"shot_01m5t4gy1j4hazr9khn5x51m6f"Responses
200
The screenshot.
application/jsonid
string
REQUIRED
object
string
REQUIRED
Enum:
screenshotstatus
string
REQUIRED
Screenshots are synchronous, so a stored screenshot always succeeded.
Enum:
succeededsource
object
REQUIRED
url
string (uri)
html
boolean
Present when the screenshot rendered inline HTML.
Enum:
trueprofile
string
width
integer
REQUIRED
height
integer
REQUIRED
format
string
REQUIRED
Enum:
webp, png, jpegartifacts
object[]
REQUIRED
The primary image first, then variants.
Array of:
id
string
REQUIRED
object
string
REQUIRED
Enum:
artifactkind
string
REQUIRED
Enum:
image, mp4, gif, poster, vtt, srtcontent_type
string
REQUIRED
bytes
integer
width
integer
height
integer
duration_ms
integer
url
string (uri)
Signed URL on `usercontent.b3os.org`, `https://usercontent.b3os.org/a/<id in host-safe form>/<name>?node=&exp=&sig=`:
an Ed25519 signature by the node's key over the method, path and expiry (`renderGetArtifactContent`), no
cookies. It works as soon as the artifact is reported, while the upload to storage is still finishing.
url_expires_at
string (date-time)
created_at
string (date-time)
expires_at
string (date-time)
When the artifact is deleted.
created_at
string (date-time)
REQUIRED
expires_at
string (date-time)
REQUIRED
timing
object
Server-side phase durations in milliseconds with microsecond resolution: the same phases as the
`Server-Timing` header, keyed `<phase>_ms`. `total_ms` is always present. Phase names are product-specific
and documented per operation. Example values in this reference are illustrative, not measurements.
total_ms
number
REQUIRED
metadata
object
REQUIRED
Up to 16 string key-value pairs you attach to an object for your own use. Keys are 1 to 40 characters of
`A-Z a-z 0-9 _ . : -`; values are at most 500 characters. B3OS never interprets them.
400
The request failed validation (`invalid_request`, `invalid_url`).
401
Missing, malformed, expired or revoked credentials (`unauthorized`).
403
Authenticated but not allowed (`forbidden`, `egress_denied`).
404
No such screenshot in this project (`screenshot_not_found`).
429
A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500
Something failed inside B3OS (`internal`). Retry with backoff.
503
The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/render/screenshots/shot_01m5t4gy1j4hazr9khn5x51m6f' \ -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/render/screenshots/shot_01m5t4gy1j4hazr9khn5x51m6f', { method: 'GET', headers: { "Authorization": "Bearer YOUR_API_TOKEN" }});const data = await response.json();console.log(data);
import requestsheaders = { 'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/render/screenshots/shot_01m5t4gy1j4hazr9khn5x51m6f', headers=headers)print(response.json())
200
Response
{ "id": "shot_01m5t4gy1j4hazr9khn5x51m6f", "object": "screenshot", "status": "succeeded", "source": { "url": "https://app.example.com/billing" }, "width": 1792, "height": 1092, "format": "webp", "artifacts": [ { "id": "art_01m5t41x77fg4pdnm2ryq73wgs", "object": "artifact", "kind": "image", "content_type": "image/webp", "bytes": 148210, "width": 1792, "height": 1092, "url": "https://usercontent.b3os.org/a/art-01m5t41x77fg4pdnm2ryq73wgs/screenshot.webp?node=n1&exp=1793043600&sig=I2x9vbZFB69uHVSNZQ7uZxK_A7vZcAeLT_u8A4PaTYZBp10MggMcte9kTH_Sg7O_Qx69moJXdpy_uKbLpGpBBA", "url_expires_at": "2026-10-26T19:40:00.000Z", "created_at": "2026-10-25T18:40:00.118Z", "expires_at": "2026-11-01T18:40:00.118Z" } ], "created_at": "2026-10-25T18:40:00.000Z", "expires_at": "2026-11-01T18:40:00.118Z", "metadata": {}}
API Playground
Try this endpoint
GET
/v1/render/screenshots/{screenshot_id}