Platforms
Search Platform Examples
Search platform examples using semantic similarity
post
/v1/platform/example/search
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Request Body * Required
Request Body Schema: application/json
searchstring
The search query to find relevant examples
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.platform.example.search(
{)}"search":"string"
{"items":[{"name":"string","description":"string","meta":"object","id":"string","createdAt":"number","updatedAt":"number","type":"string","config":"object","keywords":["string"]}]}The search was successful