Get test IDs from api

Hi,

I would like to schedule a regular extraction of test results via API done in my private instance.
How can I get a list of “test_id” that are completed via API?
The only way I found is to extract them from filenames in /work/jobs/, but that seems like a very bad walkaround …

If you’re the one running the tests then generally you just keep track of the test ID when the test is run. If you basically want to log all of the tests that are run even by other people you can turn on the automatic logging of test results as they are run: webpagetest/settings.ini.sample at master · WPO-Foundation/webpagetest · GitHub

There are also the test logs as tests are run in the log/ directory, one per day.