If you connect to http://<ip address>/machine/status you get the machine model, and that has an entry 'job' 'lastDuration' which looks to me to be duration in seconds of the last print job. (At least, it does on mine - MB6HX + Pi firmware 3.1.1 - I don't know what combinations of hardware are needed for this to be true.)