Skip to main content
POST
/
skills
/
{namespace}
/
{slug}
/
sync
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.skills.sync('slug', { namespace: 'namespace' });

console.log(response.id);
{
  "id": "<string>",
  "namespace": "<string>",
  "slug": "<string>",
  "displayName": "<string>",
  "description": "<string>",
  "externalStars": 123,
  "gitUrl": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

namespace
string
required
slug
string
required

Response

Skill synced successfully

id
string
required
namespace
string
required
slug
string
required
displayName
string
required
description
string
required
externalStars
number
required
gitUrl
string
required
updatedAt
string
required