Create Dataset Record

Create record

post
/v1/dataset/{datasetId}/record/create

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

datasetIdstring* Required

Request Body * Required

Request Body Schema: application/json

textstring

The text of the record

metaobject

Meta data information

curl -X POST "https://api.chatbotkit.com/v1/dataset/{datasetId}/record/create" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \

-H "Content-Type: application/json" \

--data-binary @- << EOF {
"text":"string",
"meta":"object"
}
EOF
{
"id":"string"
}
The record was created successfully