Skip to main content
POST
/
namespaces
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 namespace = await client.namespaces.create();

console.log(namespace.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

Response

Namespace created successfully

name
string
required
Example:

"myorg"

createdAt
string
required
Example:

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