---
title: "Create a new workspace"
method: POST
path: "/api/workspaces"
tags: ["Workspaces"]
---

# Create a new workspace

`POST /api/workspaces`

Creator is auto-added as owner. May fail with 403 if the per-user workspace quota is exceeded.

## Request body

- WorkspaceCreateRequest
  - `name` string, required

## Response `201`

Created

- Workspace
  - `created_at` string, required
  - `id` string, required
  - `name` string, required
  - `updated_at` string, required

## Other responses

- `400` — bad request / empty name
- `403` — workspace quota exceeded
- `500` — internal error

## Changes

> 20 revisions in range; 1 could not be searched.

- **2026-05-22** `022de8fbcf5d` — 1 info
  - endpoint added
- **2026-05-22** `1ba39f384b63` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentserver/apis/agentserver-api/changes/api/workspaces/post.md)

---

[API](https://skmtc.dev/agentserver/apis/agentserver-api.md) · [All operations](https://skmtc.dev/agentserver/apis/agentserver-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentserver/agentserver-api/revisions/e8c329825b4e/schema)
