added method to get the task id and log url for a given request.