Skip to main content
PUT
/
namespaces
/
{name}
JavaScript
import Smithery from '@smithery/api';

const client = new Smithery({
  apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});

const response = await client.namespaces.set('xxx');

console.log(response.createdAt);
{
  "name": "myorg",
  "createdAt": "2024-01-01T00:00:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://smithery.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

name
string
required
Required string length: 3 - 39

Response

Namespace created successfully

name
string
required
Example:

"myorg"

createdAt
string
required
Example:

"2024-01-01T00:00:00.000Z"