back to manuals

Dataset Records

Dataset records are essential components that store valuable data points, enabling the dataset to serve as a comprehensive knowledge base for various applications.

Creating Dataset Records

Creating a dataset is the first step in organizing information, but populating it with records is what makes it truly useful. You can create a record by making a POST request to the following endpoint:

Deleting a Dataset Record

You can delete a dataset record by sending a POST request to the following endpoint:

Warning: Deleting a dataset record is a permanent action and cannot be undone.

Fetching a Dataset Record

You can retrieve a dataset record by sending a GET request to the following endpoint:

Updating a Record

You can update a dataset record with new text, source information, or metadata by sending a POST request to the following endpoint:

Exporting Records

You can export dataset records for backup or migration purposes in various formats such as JSON, JSONL, or CSV.

Here is how to export records in JSON format:

To export in JSONL format:

To export in CSV format:

Listing Records

Listing records within a dataset allows you to retrieve and manage the individual entries that make up your dataset.