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

# Create a workspace

`POST /workspaces`

## Request

- Base URL: `https://api.compelling.ai/v1`
- URL: `https://api.compelling.ai/v1/workspaces`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required

## Response `201`

Workspace created

- Workspace
  - `id` string
  - `name` string
  - `created_at` string, date-time

## Other responses

- `422`: Validation error

---

[API](https://skmtc.dev/compelling/apis/compelling-api.md) · [All operations](https://skmtc.dev/compelling/apis/compelling-api/llms.txt) · [OpenAPI document](https://skmtc.dev/compelling/apis/compelling-api/revisions/55049ff28c67?raw)
