From 7baff35ad7e3e5fc2e173249b931d370f2d74072 Mon Sep 17 00:00:00 2001 From: nas Date: Thu, 5 Nov 2026 19:52:40 -0500 Subject: [PATCH] docs: screenshot and PDF links expire after 7 days Generated screenshot and PDF URLs are now signed and valid for 7 days. Updates the example URLs and replaces the 'public and durable' wording with download guidance. --- content/docs/overview/browser-tools/overview.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/docs/overview/browser-tools/overview.mdx b/content/docs/overview/browser-tools/overview.mdx index 84f60fee..896cc28f 100644 --- a/content/docs/overview/browser-tools/overview.mdx +++ b/content/docs/overview/browser-tools/overview.mdx @@ -127,7 +127,7 @@ const result = await client.screenshot({ fullPage: true, }); -console.log(result.url); // https://files.steel.dev/v1/static/.png +console.log(result.url); // https://images.steel.dev/v1/static/artifacts//.png ``` ```python !! Python -wcn @@ -140,7 +140,7 @@ print(result.url) ``` -The hosted URL is public and durable. Download it like any other PNG: +The URL works without an API key and expires after 7 days. If you need the file longer, download it: ```typescript !! Typescript -wcn import fs from "node:fs"; @@ -153,7 +153,7 @@ fs.writeFileSync("page.png", buffer); ### PDF -`POST /v1/pdf` renders the page and returns a hosted PDF URL. Same shape as screenshot: one URL in, one URL out. +`POST /v1/pdf` renders the page and returns a hosted PDF URL. Same shape as screenshot: one URL in, one URL out, and the link also expires after 7 days. @@ -162,7 +162,7 @@ const result = await client.pdf({ url: "https://docs.steel.dev", }); -console.log(result.url); // https://files.steel.dev/v1/static/.pdf +console.log(result.url); // https://files.steel.dev/v1/static/artifacts//.pdf ``` ```python !! Python -wcn