---
title: "Update a dataset example"
method: PATCH
path: "/v3/datasets/{dataset_api_id}/rows/{row_key}"
tags: ["Function Accuracy"]
---

# Update a dataset example

`PATCH /v3/datasets/{dataset_api_id}/rows/{row_key}`

**Update an example (row).**

## Path parameters

- `dataset_api_id` string, required
- `row_key` string, required

## Request body

- GoldenDataSetRowUpdateRequest — Request to update a row in a golden data set
  - `id` string, nullable — New key for the row. Must match ^[a-zA-Z0-9_-]{1,256}$
  - `columns` object, required — Map of column names to column values

## Response `200`

The request has succeeded.

- GoldenDataSetRowUpdateResponse — Response after updating a row in a golden data set
  - `row` GoldenDataSetRow — A row in a golden data set
    - `key` string, required — Unique key identifying the row
    - `columns` object, required — Map of column names to column values
    - `source` GoldenDataSetRowSource — The function output a transformation-backed dataset row was created from.
      - `transformationID` string, required — The source transformation's public id (also the row key).
      - `eventID` string — The public id of the event that produced the source output.
      - `referenceID` string — The caller-supplied reference id on the source transformation, if any.
      - `functionName` string, required — The function that produced the source output.
      - `functionVersionNum` integer, required — The version of that function.
      - `functionType` string — The function's type (e.g. "extract", "transform", "analyze").
  - `error` string, nullable — Error message if the update failed

---

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