Update Dataset Content
Update the content of a dataset.
The index and column_name fields are treated as keys tied to a specific version of the dataset.
As such, these values are considered immutable identifiers for the dataset’s structure.
Edits are applied sequentially in list order, and each edit sees the table state left by the
previous one. For example, after a rename_column edit renames col_a to col_b, any
subsequent update_row in the same request must reference the column as col_b, not col_a.
The If-Match header is used to ensure that updates are only applied if the client’s version of the dataset
matches the server’s version. This prevents conflicts from simultaneous updates. The ETag header in the response
provides the new version identifier after a successful update.
Documentation Index
Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Headers
ETag of the dataset as a version identifier.
Path Parameters
Body
This structure represent the valid edits operations that can be performed on a dataset. There edit operations are:
- Row edits: These edits are performed on a specific row of the dataset.
- EditMode.id: The edit is performed on the index (numeric index). DEPRECATED
- EditMode.row_id: The edit is performed on the row_id of the row.
- Global edits: These edits are performed on the entire dataset and should not be mixed with row edits.
- EditMode.global_edit
1- DatasetPrependRow
- DatasetAppendRow
- DatasetUpdateRow
- DatasetDeleteRow
- DatasetFilterRows
- DatasetCopyRecordData
- DatasetRemoveColumn
- DatasetRenameColumn
Response
Dataset content updated successfully