
AP.90624 (Customer) asked a question.
System Log API polling requests: which timestamp does since filter on, and can next links skip late-inserted events?
This is related to /api/v1/logs consumed as a polling request (since set, no until, sortOrder=ASCENDING, then following the next links), as recommended for ongoing ingestion.
- In a polling request, does since filter events by their internal persistence (insertion) time, or by published? The "Polling requests" section of the System Log query reference says results are ordered by persistence time and "return every event", but the "Date and time filter" section says since filters by published. A 2020 developer forum reply from Okta (thread) said polling "uses 'insertion timestamp' to filter records", and that the docs would be clarified. Is that still the behaviour?
- If an event is inserted late, can it be committed behind a position that a next link (after cursor) has already passed, so that following next links never returns it? Or does the polling view hold events back (the "1+ minute" polling delay mentioned on the forum) so that this cannot happen?
- Is there a documented upper bound, or a typical figure, for the delay between an event's published time and its visibility to bounded and to polling requests?
- How long does a next link stay valid (for example, across a pause of a day or more), and what error does an expired or invalid after return?

Hello @AP.90624 (Customer) Thank you for posting on our Community page!
You are asking whether the since parameter on /api/v1/logs filters by persistence (insertion) time or published time in polling requests, whether late-inserted events can be skipped by a next-link cursor, what the delay bounds are between publish and visibility, and how long next links remain valid.
Summary: In polling requests, since filters on persistence time. The published documentation does not state a maximum commit delay, a next-link lifetime, or an expiry error, so those limits should be confirmed with Okta Support for your tenant.
Solution: The System Log API reference defines since as a lower bound on the published property for bounded queries and on persistence time for polling queries. This means the polling behavior you described is documented for the current reference.
Answers to each question:
Steps for a resilient polling loop:
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.