Workspaces

Upload Workspace Files

Presigned PUT URLs for input files, placed under uploads/ in the workspace. The agent pulls them in at the start of every run. URLs are pinned to the declared Content-Type and exact Content-Length.

post/workspaces/{workspace_id}/files/upload

Request

  • Base URL: https://api.browser-use.com/api/v4
  • URL: https://api.browser-use.com/api/v4/workspaces/{workspace_id}/files/upload
  • Auth: API key in header X-Browser-Use-API-Key

Path parameters

workspace_idstring uuid required

Request body

allowOverridesboolean

When false, return 409 before reserving storage if any uploaded filename would replace an existing workspace file.

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.