    

 ## On this page

  

 

 # insertRun

 Last update: 30.07.2026 

public [insertRun](insert-run.md)(insertBefore: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

inserts a new run before a given index

#### Parameters

insertBeforethe index to insert the new run before (0-based index)#### Throws

[ModelCenterException](./../-model-center-exception/index.md)