Relative time using API?

Hello everyone. I see it’s possible to select a time range (from x hours or x days to x hours or x days) using graylog. Is it possible to do the same when communicating with the API ? so far I found that you can only select range in seconds.
Many thanks !

he @ach

you would need to present the range you want to query in seconds to the API - that is what the UI does.

had a few confusions about relative/absolute. turned out i need to run the search in absolute mood to get what I want. thanks :slight_smile: