List Dataset Files

Retrieve a list of dataset files

get
/v1/dataset/{datasetId}/file/list

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

datasetIdstring* Required

The ID of the dataset

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}/file/list" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"items":[
{
"id":"string",
"name":"string",
"description":"string",
"visibility":"string",
"meta":"object",
"createdAt":"number",
"updatedAt":"number"
}
]
}
The list of files was retrieved successfully