---
title: "Update a dataset record"
method: POST
path: "/dataset/{datasetId}/record/{recordId}/update"
tags: ["Dataset Record"]
---

# Update a dataset record

`POST /dataset/{datasetId}/record/{recordId}/update`

## Request

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

## Path parameters

- `datasetId` string, required
- `recordId` string, required

## Request body

- object
  - `text` string: The text to update the record with
  - `source` string: The source to update the record with
  - `meta` Meta: Meta data information

## Response `200`

The record was updated successfully

- object
  - `id` string, required: The ID of the updated 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)
