From 62f5c47831b72734c263b279d8e1566465d9589d Mon Sep 17 00:00:00 2001 From: junhsss Date: Sat, 7 Nov 2026 06:42:39 +0900 Subject: [PATCH 1/3] docs: update the SDK notes and links for 0.21.0 --- content/docs/overview/files-api/overview.mdx | 4 ++-- content/docs/overview/sessions-api/reusing-auth-context.mdx | 2 +- content/docs/overview/sessions-api/session-lifecycle.mdx | 5 +++++ content/docs/overview/sessions-api/session-metadata.mdx | 5 +++++ content/docs/overview/sessions-api/session-signals.mdx | 5 +++++ next.config.mjs | 2 +- 6 files changed, 19 insertions(+), 4 deletions(-) diff --git a/content/docs/overview/files-api/overview.mdx b/content/docs/overview/files-api/overview.mdx index 1dbcb620..012c962f 100644 --- a/content/docs/overview/files-api/overview.mdx +++ b/content/docs/overview/files-api/overview.mdx @@ -100,7 +100,7 @@ for file in response.json()["data"]: #### Download Files from Session File System -For raw HTTP requests, the `{path}` parameter is relative. Session file responses currently come back in a `/files/...` form, so strip that prefix before interpolating the value into the URL. +The path is relative, both in SDK calls and in raw HTTP requests. Upload and list return session file paths in a `/files/...` form, so strip that prefix before you pass a path to download or delete. A path that starts with `/` fails with a `400` error. @@ -141,7 +141,7 @@ with open("session_files.zip", "wb") as f: #### Delete Files from Sessions File System -The raw HTTP delete endpoint also expects the relative path segment rather than the `/files/...` form returned by session file responses. +Delete also takes the relative path, not the `/files/...` form that upload and list return. diff --git a/content/docs/overview/sessions-api/reusing-auth-context.mdx b/content/docs/overview/sessions-api/reusing-auth-context.mdx index 32fb729a..830b34db 100644 --- a/content/docs/overview/sessions-api/reusing-auth-context.mdx +++ b/content/docs/overview/sessions-api/reusing-auth-context.mdx @@ -28,7 +28,7 @@ For additional practical examples and recipes, check out the [Steel Cookbook](ht * Steel API Key -* [Steel SDK](https://github.com/steel-dev/steel-python) installed. +* [Steel SDK](https://github.com/steel-dev/sdk) installed. ```package-install steel-sdk ``` diff --git a/content/docs/overview/sessions-api/session-lifecycle.mdx b/content/docs/overview/sessions-api/session-lifecycle.mdx index 84e5aa47..daf0d56e 100644 --- a/content/docs/overview/sessions-api/session-lifecycle.mdx +++ b/content/docs/overview/sessions-api/session-lifecycle.mdx @@ -180,6 +180,11 @@ print(response.message) # "All sessions released successfully" Every released or failed session has a `releaseReason`. It is `null` while the session is live, and for sessions created before Steel tracked the reason. +:::callout +type: info +Reading `releaseReason` in TypeScript needs `steel-sdk` 0.21.0 or later. Filtering by it in [Find Past Sessions](#find-past-sessions) needs 0.21.0 or later in TypeScript and Python. +::: + ```typescript !! Typescript -wcn diff --git a/content/docs/overview/sessions-api/session-metadata.mdx b/content/docs/overview/sessions-api/session-metadata.mdx index 5213831b..d582c646 100644 --- a/content/docs/overview/sessions-api/session-metadata.mdx +++ b/content/docs/overview/sessions-api/session-metadata.mdx @@ -10,6 +10,11 @@ publishedAt: "2026-11-04" Session metadata is a flat set of key-value pairs that you attach to a session. Use it to store your own identifiers, such as a job ID, a customer, or an environment. Steel returns metadata on every session response and shows it on the session page in the dashboard, so don't store secrets in it. +:::callout +type: info +Session metadata needs `steel-sdk` 0.21.0 or later, in TypeScript and Python. +::: + ```typescript !! Typescript -wcn diff --git a/content/docs/overview/sessions-api/session-signals.mdx b/content/docs/overview/sessions-api/session-signals.mdx index 475a92be..3c748013 100644 --- a/content/docs/overview/sessions-api/session-signals.mdx +++ b/content/docs/overview/sessions-api/session-signals.mdx @@ -10,6 +10,11 @@ publishedAt: "2026-11-04" Signals are labels that Steel adds to a session when it sees certain events during the run, such as a CAPTCHA or a bot block. You don't set signals. To attach your own labels, use [session metadata](/overview/sessions-api/session-metadata). +:::callout +type: info +Session signals need `steel-sdk` 0.21.0 or later, in TypeScript and Python. +::: + ```typescript !! Typescript -wcn diff --git a/next.config.mjs b/next.config.mjs index 4bbb67f8..47af7363 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -51,7 +51,7 @@ const config = { }, { source: "/steel-go-sdk", - destination: "https://pkg.go.dev/github.com/steel-dev/steel-go", + destination: "https://pkg.go.dev/github.com/steel-dev/sdk/go", permanent: true, }, { From f98e5687e29cd80506e17c5fd0744810e72b1be6 Mon Sep 17 00:00:00 2001 From: junhsss Date: Sat, 7 Nov 2026 06:58:27 +0900 Subject: [PATCH 2/3] docs: name the TypeScript, Python, Go and Rust SDKs --- content/docs/overview/intro-to-steel.mdx | 6 +++--- content/docs/overview/sessions-api/overview.mdx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/docs/overview/intro-to-steel.mdx b/content/docs/overview/intro-to-steel.mdx index 3604f02f..f5e0ce63 100644 --- a/content/docs/overview/intro-to-steel.mdx +++ b/content/docs/overview/intro-to-steel.mdx @@ -33,7 +33,7 @@ But what if we flipped that? Steel is a headless browser API that lets AI engineers: -* Control fleets of browser sessions in the cloud via API or Python/Node SDKs +* Control fleets of browser sessions in the cloud via API or SDKs for TypeScript, Python, Go, and Rust * Easily extract page data as cleaned HTML, markdown, PDFs, or screenshots @@ -76,14 +76,14 @@ Under the hood, Steel’s cloud-native platform handles all the headaches of bro - [API Reference](/api-reference) - [Python SDK Reference](/steel-python-sdk) -- [Node SDK Reference](/steel-js-sdk) +- [TypeScript SDK Reference](/steel-js-sdk) ### FAQ :::faq ### What is Steel and what does it do? -Steel is an open-source browser API purpose-built for AI agents. It lets you control fleets of browser sessions in the cloud via API or Python/Node SDKs, handling JavaScript rendering, logins, proxies, CAPTCHAs, and scaling so you can focus on shipping product instead of babysitting browsers. +Steel is an open-source browser API purpose-built for AI agents. It lets you control fleets of browser sessions in the cloud via API or SDKs for TypeScript, Python, Go, and Rust, handling JavaScript rendering, logins, proxies, CAPTCHAs, and scaling so you can focus on shipping product instead of babysitting browsers. ### Why is it so hard for AI agents to browse the web? diff --git a/content/docs/overview/sessions-api/overview.mdx b/content/docs/overview/sessions-api/overview.mdx index aadb0739..9552de42 100644 --- a/content/docs/overview/sessions-api/overview.mdx +++ b/content/docs/overview/sessions-api/overview.mdx @@ -27,7 +27,7 @@ Sessions are the atomic unit of our Sessions API. Think of sessions as giving yo [Python SDK Reference](/steel-python-sdk) -[Node SDK Reference](/steel-js-sdk) +[TypeScript SDK Reference](/steel-js-sdk) ### Understanding sessions @@ -52,5 +52,5 @@ Yes. Each session maintains its own state, cookies, and storage, which is design ### Can I control a Steel session with Puppeteer, Playwright, or Selenium? -Yes. Steel has connection guides for Puppeteer, Playwright (Node and Python), and Selenium, plus Python and Node SDK references for managing sessions themselves. +Yes. Steel has connection guides for Puppeteer, Playwright (Node and Python), and Selenium, plus TypeScript and Python SDK references for managing sessions themselves. ::: From 2b98a55caf14641e970c31a590e26c2a25b23bc3 Mon Sep 17 00:00:00 2001 From: junhsss Date: Sat, 7 Nov 2026 07:19:24 +0900 Subject: [PATCH 3/3] docs: fix two Python examples that call the SDK wrong --- content/docs/overview/extensions-api/overview.mdx | 2 +- .../docs/overview/sessions-api/embed-sessions/past-sessions.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/overview/extensions-api/overview.mdx b/content/docs/overview/extensions-api/overview.mdx index 9e32dfc0..a55d54b9 100644 --- a/content/docs/overview/extensions-api/overview.mdx +++ b/content/docs/overview/extensions-api/overview.mdx @@ -182,7 +182,7 @@ await client.extensions.deleteAll() ``` ```python !! Python -wcn -client.extensions.deleteAll() +client.extensions.delete_all() ``` diff --git a/content/docs/overview/sessions-api/embed-sessions/past-sessions.mdx b/content/docs/overview/sessions-api/embed-sessions/past-sessions.mdx index f482706e..0d5e2c6f 100644 --- a/content/docs/overview/sessions-api/embed-sessions/past-sessions.mdx +++ b/content/docs/overview/sessions-api/embed-sessions/past-sessions.mdx @@ -106,7 +106,7 @@ const events = await client.sessions.events(session.id); or ```python -events = client.sessions.events(session_id=session.id) +events = client.sessions.events(session.id) ``` **Direct API**