How to retry a Failed/None QueueItem through API

Hi guys, first of all, thank you for helping.

Actually I have made a process which search “X” processes and also get its Failed/None items. After that, I need to retry some queue items (depending of its item comments) but I don’t find the query to do that.

Could anyone help me please? Thank you.