diff --git a/docs/cloud/agent/quickstart.mdx b/docs/cloud/agent/quickstart.mdx index 92961810..ea0a9273 100644 --- a/docs/cloud/agent/quickstart.mdx +++ b/docs/cloud/agent/quickstart.mdx @@ -25,7 +25,7 @@ console.log(result.output); ``` ```bash curl curl -X POST https://api.browser-use.com/api/v3/sessions \ - -H "Authorization: Bearer YOUR_API_KEY" \ + -H "X-Browser-Use-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"task": "List the top 20 posts on Hacker News today with their points"}' ``` diff --git a/docs/cloud/legacy/agent.mdx b/docs/cloud/legacy/agent.mdx index 86d28860..c36aef85 100644 --- a/docs/cloud/legacy/agent.mdx +++ b/docs/cloud/legacy/agent.mdx @@ -73,8 +73,8 @@ const upload = await client.files.sessionUrl(session.id, { sizeBytes: 1024, }); -await fetch(upload.presignedUrl, { - method: "PUT", +await fetch(upload.url, { + method: "POST", body: readFileSync("input.pdf"), headers: { "Content-Type": "application/pdf" }, }); @@ -100,7 +100,7 @@ for file in result.output_files: const result = await client.tasks.get(taskId); for (const file of result.outputFiles) { const output = await client.files.taskOutput(taskId, file.id); - console.log(output.presignedUrl); + console.log(output.downloadUrl); } ``` diff --git a/docs/cloud/legacy/public-share.mdx b/docs/cloud/legacy/public-share.mdx index 37e2859c..f5666dd2 100644 --- a/docs/cloud/legacy/public-share.mdx +++ b/docs/cloud/legacy/public-share.mdx @@ -9,10 +9,10 @@ Generate a public URL that anyone can open to watch the entire agent session — ```python Python share = await client.sessions.create_share(session.id) -print(share.url) +print(share.share_url) ``` ```typescript TypeScript const share = await client.sessions.createShare(session.id); -console.log(share.url); +console.log(share.shareUrl); ``` diff --git a/docs/open-source/browser-use-cli.mdx b/docs/open-source/browser-use-cli.mdx index 05000d37..b52dd513 100644 --- a/docs/open-source/browser-use-cli.mdx +++ b/docs/open-source/browser-use-cli.mdx @@ -271,7 +271,7 @@ browser-use open https://abc.trycloudflare.com ## Profile Management -The `profile` subcommand delegates to the [profile-use](https://github.com/browser-use/browser-use-cli) Go binary, which syncs local browser cookies to Browser-Use cloud. +The `profile` subcommand syncs local browser cookies to Browser-Use cloud. The binary is managed at `~/.browser-use/bin/profile-use` and auto-downloaded on first use.