code: def list(self, all_my_agents=False, limit=500, offset=0):
          
          logger.info("list(all_my_agents=%s, limit=%s, offset=%s)", all_my_agents, limit, offset)
          if all_my_agents:
              evt = self._request_entity_list_all(limit=limit, offset=offset)
          else:
              evt = self._request_entity_list(limit=limit, offset=offset)
  
          self._wait_and_except_if_failed(evt)
          return evt.payload['entities']
docs: List `all` the things created by this client on this or all your agents
  
          Returns QAPI list function payload
  
          Raises [LinkException](../Core/AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException)
          if there is a communications problem between you and the infrastructure
  
          `all_my_agents` (optional) (boolean) If `False` limit search to just this agent,
          if `True` return list of things belonging to all agents you own.
  
          `limit` (optional) (integer) Return this many Point details
  
          `offset` (optional) (integer) Return Point details starting at this offset