---
title: "Create record"
method: POST
path: "/dataset/{datasetId}/record/create"
tags: ["Dataset Record"]
---

# Create record

`POST /dataset/{datasetId}/record/create`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/dataset/{datasetId}/record/create`
- Auth: HTTP bearer

## Path parameters

- `datasetId` string, required

## Request body

- object
  - `text` string, required: The text of the record
  - `source` string: The source of the record
  - `meta` Meta: Meta data information

## Response `200`

The record was created successfully

- object
  - `id` string, required: The ID of the created record

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
