Export Dataset Records

Export dataset records

get
/v1/dataset/{datasetId}/record/export

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

datasetIdstring* Required

The ID of the dataset to export

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/dataset/{datasetId}/record/export" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"items":[
{
"name":"string",
"description":"string",
"meta":"object",
"id":"string",
"createdAt":"number",
"updatedAt":"number",
"text":"string",
"source":"string"
}
]
}
The export of dataset records was retrieved successfully