UI uses this API to get the status and the start time if a user is on the preview page and they refresh the page. The UI uses res.startTime to reset the preview timer. Right now, res.startTime is undefined if the pipeline is in the INIT or WAITING state because startTime is recorded on run start (when the preview is in RUNNING state). However, the UI shows the timer starting when the user clicks "Run" (when the run is initially queued), which is not consistent with the startTime recorded by the backend. This means that the UI will incorrectly reset the timer if the user refreshes the UI, because it does not know the necessary start time.
Proposal: Include submit time (time when the preview run is initially submitted) in addition to the start time in the backend response. That way the UI can always use submitTime to correctly and consistently render the timer in Preview.