---
title: "Create a new namespace with generated name"
method: POST
path: "/namespaces"
tags: ["namespaces"]
---

# Create a new namespace with generated name

`POST /namespaces`

Create a new namespace with a server-generated human-readable name, owned by the authenticated user

## Response `201`

Namespace created successfully

- CreateNamespaceResponse
  - `name` string, required
  - `createdAt` string, required

## Other responses

- `400` — Bad request (user already has a namespace)
- `401` — Unauthorized
- `403` — Forbidden - missing namespaces:write permission

---

[API](https://skmtc.net/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.net/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smithery-ai/smithery-platform-api/revisions/60b8c3d2fecf/schema)
