Create a workspace
Create a workspace. The account that creates it becomes its owner.
Request example
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"
}
JSONResponse example
201 Created
{
"id": "01KJ4CJW0R37VJ4C5JJAK3ZMRP",
"name": "Example workspace",
"created_at": "2026-12-01T09:00:00Z",
"updated_at": "2026-12-01T09:00:00Z"
}Response headers
Location: /api/v1/workspaces/01KJ4CJW0R37VJ4C5JJAK3ZMRPAuthentication
Account bearer token
Authentication overviewRequest fields
Request body
namestringRequired- Workspace name, 1 to 160 UTF-8 bytes.