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

# Create a workspace

`POST /workspaces`

## Query parameters

- `remoteNode` string

## Request body

- CreateWorkspaceRequest
  - `name` string, required — Workspace name. The reserved names all and default are not allowed.
  - `description` string

## Response `201`

Workspace created

- WorkspaceResponse
  - `id` string, required
  - `name` string, required — Workspace name. The reserved names all and default are not allowed.
  - `description` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Invalid request
- `409` — Name already exists

## Changes

- **2026-04-30** (v1) `50e1d517afc1` — 2 info
  - removed the `rate_limited` enum value from the `code` response property for the response status `400`
  - removed the `rate_limited` enum value from the `code` response property for the response status `409`

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/workspaces/post.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/0cce8472f3ba/schema)
