begin_transaction
Start a transaction to safely batch model modifications, backing up file-backed models so rollback restores the exact prior state. Use the returned txn_id to commit or rollback.
Instructions
Start a transaction before a batch of modifications. For file-backed models the current file is saved and backed up so rollback can restore the exact pre-transaction state. Pass the returned txn_id to commit_transaction / rollback_transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| auto_save | No |