---
title: "Fetch a record from a dataset"
method: GET
path: "/dataset/{datasetId}/record/{recordId}/fetch"
tags: ["Dataset Record"]
---

# Fetch a record from a dataset

`GET /dataset/{datasetId}/record/{recordId}/fetch`

## Request

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

## Path parameters

- `datasetId` string, required: The ID of the dataset
- `recordId` string, required: The ID of the record to retrieve

## Response `200`

The dataset was retrieved successfully

- object: Instance list properties
  - `id` string, required: The instance ID
  - `createdAt` number, required: The timestamp (ms) when the instance was created
  - `updatedAt` number, required: The timestamp (ms) when the instance was updated
  - `text` string, required: The text of the dataset record
  - `source` string: The source of the dataset 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/5e7b6bf465ce?raw)
