namespaces
Create a new namespace
Changed onCreate 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 URLhttps://api.smithery.ai
- URLhttps://api.smithery.ai/namespaces/{name}
- AuthHTTP bearer
Path parameters
namestring required
Response
Namespace created successfully
Example response
{
"name": "myorg",
"createdAt": "2024-01-01T00:00:00.000Z"
}Changes
- breaking
for the
pathrequest parametername, the maxLength was decreased from64to39 - breaking
for the
pathrequest parametername, the minLength was increased from2to3 - info
removed the pattern
^[a-z0-9][a-z0-9-]*[a-z0-9]$from thepathrequest parametername
- breaking