Fetch Dataset Record

Fetch a record from a dataset

get
/v1/dataset/{datasetId}/record/{recordId}/fetch

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

datasetIdstring* Required

The ID of the dataset

recordIdstring* Required

The ID of the record to retrieve

curl -X GET "https://api.chatbotkit.com/v1/dataset/{datasetId}/record/{recordId}/fetch" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"id":"string",
"text":"string",
"meta":"object",
"createdAt":"number",
"updatedAt":"number"
}
The dataset was retrieved successfully