code: def service_executions(self, name=None, pk=None, scope=None, service=None, **kwargs):
          
          request_params = {
              'name': name,
              'id': pk,
              'service': service,
              'scope': scope
          }
          if kwargs:
              request_params.update(**kwargs)
  
          r = self._request('GET', self._build_url('service_executions'), params=request_params)
  
          if r.status_code != requests.codes.ok:  # pragma: no cover
              raise NotFoundError("Could not retrieve service executions")
  
          data = r.json()
          return [ServiceExecution(service_exeuction, client=self) for service_exeuction in data['results']]
docs: Retrieve Service Executions.
  
          If additional `keyword=value` arguments are provided, these are added to the request parameters. Please
          refer to the documentation of the KE-chain API for additional query parameters.
  
          :param name: (optional) name to limit the search for
          :type name: basestring or None
          :param pk: (optional) primary key or id (UUID) of the service to search for
          :type pk: basestring or None
          :param scope: (optional) id (UUID) of the scope to search in
          :type scope: basestring or None
          :param service: (optional) service UUID to filter on
          :type service: basestring or None
          :param kwargs: (optional) additional search keyword arguments
          :type kwargs: dict or None
          :return: a single :class:`models.ServiceExecution` object
          :raises NotFoundError: When no `ServiceExecution` object is found