Maximum sleep time of RAK3172?

Hi everyone,
According to the dataset, I see RAK3172 has sleep mode, so what is its maximum sleep time? How to edit sleep time based on RUI3 Arduino?
I’ve looked in the dataset as well as on the forum but still no answer.
Please give me an answer and proof.

Thanks guy.

Welcome to the forum @Otto

The API command is api.system.sleep.all

If you call it without parameter, it sleeps until an external event wakes it up.