code: def agent_entities(self):
          
          endpoint = self._entity_uri()
          entities = self._get(endpoint)  # should be list of dicts
          if isinstance(entities, dict):  # error: entities = {status: {error}}
              raise Exception(entities["status"])
  
          return [Entity(entity_json=i) for i in entities if isinstance(i, dict)]
docs: Returns a list of intent json objects