add_validated_rows
Add new rows to a completed validation table with deduplication. Get a cost quote first, then approve to append rows and rerun validation on new data only.
Instructions
Add new rows to a completed validation table.
Deduplication runs against existing rows. If confirmed=False, returns a cost quote (N_new_rows x per_row_rate from last run). If confirmed=True, appends rows to source Excel, runs validation on new rows only, and merges results into the output Excel.
Only available after full validation completes (status=completed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID of a completed validation. | |
| entities | Yes | List of new entities to add. Each dict must have 'entity_id', 'entity_name', and optional 'extra_fields'. | |
| confirmed | No | Set True to approve and trigger the RowAdd run. Set False (default) to see the cost quote first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |