Skillsets
Fetch Skillset
Fetch a skillset
get
/v1/skillset/{skillsetId}/fetch
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
skillsetIdstring* Required
The ID of the skillset to retrieve
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.skillset.fetch(
skillsetId)
{"name":"string","description":"string","meta":"object","id":"string","createdAt":"number","updatedAt":"number","visibility":"string"}
The skillset was retrieved successfully