v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
felix
datasets

Delete Dataset Rows

Delete specific rows from a dataset, creating a new version.

Supports two modes: index-based (row_indices) for backwards compatibility and fingerprint-based (fingerprints) for safe deletion that is immune to dataset mutations between analysis and delete.

Args: name: Dataset name. version: Version number (use "latest" for most recent). request: Exactly one of row_indices or fingerprints.

Returns: DatasetRowsDeleteResponse with deletion status and new version.

Raises: HTTPException: 400 if identifiers are invalid, 404 if not found.

delete/felix/datasets/{name}/{version}/rows

Path parameters

namestring required
versionstring required

Request body

row_indicesinteger[] nullable

Zero-based indices of rows to remove

fingerprintsstring[] nullable

Content fingerprints of rows to remove (position-independent)

Response

Successful Response

successboolean
dataset_namestring required
versionstring required
rows_deletedinteger required
rows_remaininginteger required
new_versionstring nullable

New version number if a new version was created