How to Automatically re-run an incomplete execution via API

Hi dear experts! I have a huge scenario with multiple ChatGPT and Claude modules, which generates content. Sometimes I get a 500 runtime error, when the api is busy (not hitting the token per minute limit). When such error is occured, (for example when generating one post of 20), it skips it and work on the next one, and the scenario finishes with a warning, 19 posts, and incomplete execution recorded.

I know how to use break modules, they are set up, but I want to create more elegant solution: I want to get all incomplete executions via API, and re-run them immediately.

  1. To get incomplete executions, I use this method: Make.com - Public API Documentation
  2. then, to get incomplete execution details, I use this method: Make.com - Public API Documentation

And then I should re-run it. I think, that it could be done with “Update Incomplete Execution” method: Make.com - Public API Documentation, but I can not understand, how to use it correctly.

Had anyone used this approach? Is it possible just to re-run it, so it will process it from the same place, and only failed bundle?

Thank you!