Get task run logs
Get a page of a task run’s own logs.
Page with since; nextSince is null only when no further pages are
expected. After a run ends, it stays non-null for a settling period
(currently about two minutes) while late lines are ingested. Pages may
still carry lines after the run’s state is terminal.
Keep polling until nextSince is null rather than stopping at a terminal
state. An empty page with a non-null nextSince is normal: nothing new has
been logged yet. A run that has not started never logs and its nextSince
stays non-null; bound that wait by the run’s state from
GET /task-runs/{taskRunId}.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id of the task run.
Query Parameters
Only return lines logged after this instant, exclusive: the previous page's nextSince. A UTC RFC 3339 instant with up to nanosecond precision, e.g. '2026-06-04T18:01:12.680610267Z'. Omit for the first page.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,9})?Z$Response
Successful Response
e.g. { "taskRunId": "npqy9q19q4wlm3", "items": [ {"timestamp": "2026-06-04T18:01:12.680610267Z", "level": "INFO", "message": "Starting SAM 3 inference."} ], "nextSince": "2026-06-04T18:01:12.680610267Z" }
A UTC instant carried to the nanosecond, e.g. '2026-06-04T18:01:12.680610267Z'. A string, not a date-time: log timestamps are nanoseconds, and most date-time parsers round them off to microseconds. Emitted with as many fractional digits as the value needs, up to 9; 0 to 9 are accepted.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,9})?Z$"2026-06-04T18:01:12.680610267Z"

