Prune Threads
Prune threads by ID. The ‘delete’ strategy removes threads entirely. The ‘keep_latest’ strategy prunes old checkpoints but keeps threads and their latest state.
For threads using DeltaChannel, the ‘keep_latest’ strategy retains the minimum set of ancestor checkpoints required to replay and reconstruct the latest delta channel state. These retained checkpoints retain only delta channel blobs, so they can no longer be used directly to fork the thread or time travel to those points.
Body
Payload for pruning threads.
List of thread IDs to prune.
The prune strategy. 'delete' removes threads entirely. 'keep_latest' prunes old checkpoints but keeps threads and their latest state.
For threads using DeltaChannel, 'keep_latest' retains the minimum set of ancestor checkpoints required to replay and reconstruct the latest delta channel state. These retained checkpoints retain only delta channel blobs, so they can no longer be used directly to fork the thread or time travel to those points.
delete, keep_latest Response
Success
Response from pruning threads.
Number of threads successfully pruned.

