Reports
Generate Reports
Generate multiple reports
post
/v1/report/generate
Description
Generates multiple reports in a single request. Input is a map where each key is a report ID and each value contains the input parameters for that report. Returns a map with the same keys containing the corresponding report outputs.
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Request Body * Required
Request Body Schema: application/json
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.report.generate(
{})
{}The reports were generated successfully