---
title: "Update Dataset Entry"
method: PATCH
path: "/datasets/{dataset_id}/entries/{entry_id}"
tags: ["datasets"]
---

# Update Dataset Entry

`PATCH /datasets/{dataset_id}/entries/{entry_id}`

## Path parameters

- `dataset_id` string, uuid, required — The id of the dataset
- `entry_id` string, uuid, required — The id of the entry to update

## Request body

- UpdateDatasetEntryRequest
  - `input` string, nullable — The input to the dataset entry
  - `output` string, nullable — The output to the dataset entry
  - `expected` string, nullable — The expected output to the dataset entry, this is an optionally edited version of the output
  - `comment` string, nullable — The comment to the dataset entry

## Response `200`

Successful Response

- UpdateDatasetEntryResponse
  - `id` string, uuid, required — The id of the dataset entry
  - `input` string, required — The input to the dataset entry
  - `output` string, required — The output to the dataset entry
  - `expected` string, nullable — The expected output to the dataset entry, this is an optionally edited version of the output
  - `comment` string, nullable — The comment to the dataset entry

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required (out of credits)
- `404` — Not Found
- `422` — Request Validation Error

---

[API](https://skmtc.dev/opper/apis/opper-api-v2.md) · [All operations](https://skmtc.dev/opper/apis/opper-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opper/opper-api-v2/revisions/d3ccdaa15678/schema)
