Skillset Abilitys
List Skillset Abilities
Retrieve a list of skillset abilities
get
/v1/skillset/{skillsetId}/ability/list
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
skillsetIdstring* Required
The ID of the skillset
cursorstring
The cursor to use for pagination
orderstring
The order of the paginated items
takeinteger
The number of items to retrieve
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.skillset.ability.list(
skillsetId)
{"items":[{"name":"string","description":"string","meta":"object","id":"string","createdAt":"number","updatedAt":"number","secretId":"string","botId":"string","instruction":"string"}]}
The list of abilities was retrieved successfully