def get_workflow_status(self, depth=2):
        '''Gets the workflow status.

        Parameters
        ----------
        depth: int, optional
            query depth - in which detail status of subtasks will be queried

        Returns
        -------
        dict
            status information about the workflow

        See also
        --------
        :func:`tmserver.api.workflow.get_workflow_status`
        :func:`tmlib.workflow.utils.get_task_status`
        :class:`tmlib.models.submission.Task`
        '''
        logger.info(
            'get status for workflow of experiment "%s"', self.experiment_name
        )
        params = {'depth': depth}
        url = self._build_api_url(
            '/experiments/{experiment_id}/workflow/status'.format(
                experiment_id=self._experiment_id
            ),
            params
        )
        res = self._session.get(url)
        res.raise_for_status()
        return res.json()['data']