mcp

Create Namespace

Create a namespace from the MCP surface — the tools-only unblocker (previously a namespace could only be made via the user dashboard).

Validates the slug against the canonical pattern and returns a machine-readable slug_invalid 422 on bad input (NOT the misleading namespace not found — same rule the lookup path now enforces). Idempotent on (project, slug): an existing namespace returns created=false.

post/v1/mcp/projects/{project_id}/namespaces

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/mcp/projects/{project_id}/namespaces
  • Auth: none declared

Path parameters

project_idstring required

Request body

slugstring required
namestring required
descriptionstring nullable

Response

Successful Response

namespace_uuidstring required
slugstring required
namestring required
descriptionstring nullable required
createdboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.