Export Conversations

Export conversations

get
/v1/conversation/export

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

cursorstring

The cursor to use for pagination

orderstring

The order of the paginated items

takeinteger

The number of items to retrieve

curl -X GET "https://api.chatbotkit.com/v1/conversation/export" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"items":[
{
"id":"string",
"botId":"string",
"backstory":"string",
"model":"string",
"datasetId":"string",
"skillsetId":"string",
"meta":"object",
"createdAt":"number",
"updatedAt":"number",
"messages":[
{
"id":"string",
"type":"string",
"text":"string",
"createdAt":"number",
"updatedAt":"number"
}
]
}
]
}
The export of conversations was retrieved successfully