update enrichment
Changed onEdit an enrichment in place: name, prompt, input_columns (the headers its rows must carry; [] = any), budget and budget_locked, only_tools / additional_tools, and output columns by name. Inside output, a name not yet on the enrichment adds a column (typed from the prompts when it has no output_schema and its value is one plain value); { "prompt", "output_schema" } change one; { "tool": "linkedin_person_profile" } pins a tool to it — one call of it per row is the cell, the agent choosing the call's arguments (the ColumnToolPin; "tool": null unpins); { "rename": "New name" } renames one (cells keep their values); { "delete": true } removes one. Every call is one write: version goes up by one and every added or changed column takes it, so cells filled under the old prompt, schema, or pin read stale on datasets bound to this enrichment and are re-run by their next fill. A rename changes nothing on the cells.
The budget follows the columns: adding a column raises budget_credits_per_row by 1.5, removing one lowers it by 1.5 (within 0.1–100), unless budget_locked is true or the same call sets budget. Set budget_locked: true to keep the budget as set from then on.
Refused with 409 enrichment_in_use while a fill runs on it (the fill reads the recipe as it goes): wait for the run or stop it. To edit the columns of one dataset without touching other datasets on the same enrichment, use PATCH /datasets/{id}, which copies a shared enrichment first.
Request
- Base URLhttps://api.riveterhq.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The enrichment id (enr_...)
Request body
Response
The enrichment after the edit (its version went up)
Example response
{
"id": "enr_018f5b60-1234-7abc-89ab-0123456789ab",
"name": "Company basics",
"prompt": "Research each company from its name and website.",
"input_columns": [
"Company",
"Website"
],
"output": [
{
"name": "CEO"
},
{
"name": "Employee count",
"prompt": "Current headcount as an integer",
"output_schema": {
"type": "integer",
"minimum": 0
}
},
{
"name": "Homepage text",
"prompt": "The company's homepage, from the Website column",
"tool": "scrape"
}
],
"tools": [
"web_search",
"scrape",
"pdf",
"http_request",
"code"
],
"budget_credits_per_row": 4.5,
"budget_locked": false,
"version": 1,
"created_at": "2026-10-01T12:00:00Z",
"updated_at": "2026-10-01T12:00:00Z"
}Changes
- warning
removed the optional property
from the response with the status
- warning
- 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