---
title: "Update Dataset Rows"
method: PATCH
path: "/felix/datasets/{name}/{version}/rows"
tags: ["felix", "datasets"]
---

# Update Dataset Rows

`PATCH /felix/datasets/{name}/{version}/rows`

Update specific rows in a dataset without re-uploading the entire dataset.

This is more efficient than creating a new version for small edits.
Only the specified rows are modified; all other rows remain unchanged.

Args:
    name: Dataset name.
    version: Version number to update (use "latest" for most recent).
    request: List of row updates with row_index and changes.

Returns:
    DatasetRowsUpdateResponse with update status.

## Path parameters

- `name` string, required
- `version` string, required

## Request body

- DatasetRowsUpdateRequest — Request to update specific rows in a dataset.
  - `updates` RowUpdate[], required — List of row updates to apply
    - `row_index` integer, required — Zero-based index of the row to update
    - `changes` object, required — Column name to new value mapping

## Response `200`

Successful Response

- DatasetRowsUpdateResponse — Response after updating dataset rows.
  - `success` boolean
  - `dataset_name` string, required
  - `version` string, required
  - `rows_updated` integer, required
  - `new_version` string, nullable — New version number if a new version was created
  - `validation_warnings` string[], nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/versions/31dfe831e079/schema)
