Blueprints

Fetch Blueprint

Fetch a blueprint

get
/v1/blueprint/{blueprintId}/fetch

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

blueprintIdstring* Required

The ID of the blueprint to retrieve

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.blueprint.fetch(

blueprintId
)
{
"name":"string",
"description":"string",
"meta":"object",
"id":"string",
"createdAt":"number",
"updatedAt":"number"
}
The blueprint was retrieved successfully