Retrigger individual test scenario in case of failures

A few times, when the API times out, can we add a retry mechanism for 3 tries(for example)

Hello, are you referring to when running test scenarios or when debugging individual APIs? Could you please specify your usage scenario?