---
title: "Create Protected Workspace"
method: POST
path: "/api/workspace/create_protected"
tags: ["workspace"]
---

# Create Protected Workspace

`POST /api/workspace/create_protected`

Create a new workspace with encryption and access controls.
Sets up vector storage and associates the creator as the initial workspace user.

Public workspaces are visible to all users and grant non-members limited access:
- Non-members can view shared documents and tags
- Non-members can create conversations and send messages
- Only members can upload documents
- Only members can see the member list

Only users with developer flag can create public workspaces.

## Request body

- WorkspaceCreateRequest
  - `name` string, required
  - `description` string, nullable
  - `is_public` boolean

## Response `200`

Successful Response

- WorkspaceResponse
  - `external_id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `is_public` boolean, required
  - `created_by_ext_id` string, required
  - `updated_by_ext_id` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2025-10-13** `5ab425658de0` — 2 info
  - added the new optional request property `is_public`
  - added the required property `is_public` to the response with the `200` status

[Change history](https://skmtc.dev/arbicity/apis/arbi/changes/api/workspace/create_protected/post.md)

---

[API](https://skmtc.dev/arbicity/apis/arbi.md) · [All operations](https://skmtc.dev/arbicity/apis/arbi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arbicity/arbi/revisions/5ab425658de0/schema)
