---
title: "Create Workspace"
method: POST
path: "/workspaces"
tags: ["Workspaces"]
---

# Create Workspace

`POST /workspaces`

## Request

- Base URL: `https://api.browser-use.com/api/v4`
- URL: `https://api.browser-use.com/api/v4/workspaces`
- Auth: API key in header `X-Browser-Use-API-Key`

Mint an empty workspace. Lets callers upload input files BEFORE the
first run exists; pass the id as workspaceId on POST /runs.

## Request body

- WorkspaceCreateRequest
  - `name` string, nullable

## Response `200`

Successful Response

- WorkspaceInfo
  - `id` string, uuid, required
  - `name` string, nullable
  - `archived` boolean, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4.md) · [All operations](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4/llms.txt) · [OpenAPI document](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4/revisions/cd7b1eee1102?raw)
