The documentation is rather silent about allowed types.
This can at this stage (Influxdb 3.6) a string literal as noted in the documentation, or it can be an integer as seconds.
Ie: '2 days' for 2 days
or
120 for 120 seconds, same as '120 seconds' or '2 minutes'.
Relevant URLs