namespaces

Create a new namespace

Changed on

Create a new namespace owned by the authenticated user or an organization. This endpoint is idempotent - if the namespace already exists and is owned by the user/org, returns success. Pass organizationId in the request body to create an org-owned namespace.

put/namespaces/{name}

Request

  • Base URL
    https://api.smithery.ai
  • URL
    https://api.smithery.ai/namespaces/{name}
  • Auth
    HTTP bearer

Path parameters

namestring required

Response

Namespace created successfully

namestring required
createdAtstring required

Example response

{
  "name": "myorg",
  "createdAt": "2024-01-01T00:00:00.000Z"
}

Changes

    • breaking

      for the path request parameter name, the maxLength was decreased from 64 to 39

    • breaking

      for the path request parameter name, the minLength was increased from 2 to 3

    • info

      removed the pattern ^[a-z0-9][a-z0-9-]*[a-z0-9]$ from the path request parameter name