update dataset
Changed onEdit a dataset's structure: name, index_column, input_columns (add, rename, delete), output columns (add, change the prompt or schema, pin or unpin a tool, rename, delete), and the per-row budget / budget_locked of its enrichment. Nothing runs; fill with POST /enrich. Changing a column's prompt, schema, or pinned tool marks its filled cells stale. A saved or shared enrichment is copied before the edit, so enrichment_id may change. Refused with 409 dataset_in_use while a run is on the dataset.
The budget follows the columns as on PATCH /enrichments/{id}: adding an output column raises budget_credits_per_row by 1.5, removing one lowers it by 1.5, until budget_locked is true. budget_locked: true or budget sent in the same request as column changes wins over that adjustment, so one call can lock the budget and add columns. Both need an output column to land on: on a dataset without one, send them with the first output add.
Request
- Base URLhttps://api.riveterhq.com/v1
- AuthHTTP bearer
Path parameters
The dataset id (ds_...)
Request body
Response
The dataset after the edit
Example response
{
"id": "ds_018f6a70-1234-7abc-89ab-0123456789ab",
"name": "Targets",
"input_columns": [
"Company",
"Website"
],
"index_column": "Company",
"enrichment_id": "enr_018f5b60-1234-7abc-89ab-0123456789ab",
"output_columns": [
"CEO",
"HQ city"
],
"row_count": 2,
"rows_expired": false,
"import_in_progress": false,
"runs": [
{
"id": "run_018f6a70-cccc-7abc-89ab-0123456789ab",
"type": "enrichment",
"status": "success",
"created_at": "2026-10-01T12:05:00Z",
"finished_at": "2026-10-01T12:07:00Z"
}
],
"created_at": "2026-10-01T12:00:00Z",
"updated_at": "2026-10-01T12:07:00Z"
}Changes
- info
api tag
Dataset CRUDadded - info
api tag
Datasetsremoved
- info
- info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- info