Quick links
Chimlet home

Documentation

Chimlet home

Create a workspace

Create a workspace. The account that creates it becomes its owner.

POST/api/v1/workspacesJump to request example

Request example

Request
curl --fail-with-body --include --request POST \
  --url "$CHIMLET_BASE_URL/api/v1/workspaces" \
  --header "Authorization: Bearer $CHIMLET_SESSION_TOKEN" \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "name": "Example workspace"
}
JSON

Response example

Response
201 Created
{
  "id": "01KJ4CJW0R37VJ4C5JJAK3ZMRP",
  "name": "Example workspace",
  "created_at": "2026-12-01T09:00:00Z",
  "updated_at": "2026-12-01T09:00:00Z"
}
Response headers
Headers
Location: /api/v1/workspaces/01KJ4CJW0R37VJ4C5JJAK3ZMRP

Authentication

Account bearer token

Authentication overview

Request fields

Request body

namestringRequired
Workspace name, 1 to 160 UTF-8 bytes.