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

# Create Workspace

`POST /workspaces`

## Request body

- WorkspaceCreate
  - `id` string, uuid, nullable
  - `name` string, required

## Response `201`

Successful Response

- Workspace
  - `id` string, uuid, required
  - `name` string, required
  - `inserted_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Content
- `500` — Internal Server Error

## Changes

- **2026-08-24** `ca32894f988c` — 1 breaking, 1 info
  - added the pattern `^[a-z0-9][a-z0-9._-]{0,62}$` to the request property `name`
  - the `name` request property's minLength was decreased from `1` to `0`

[Change history](https://skmtc.dev/hf/apis/extralit-v1/changes/workspaces/post.md)

---

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