code: def agent_intents(self):
          
          endpoint = self._intent_uri()
          intents = self._get(endpoint)  # should be list of dicts
          if isinstance(intents, dict):  # if error: intents = {status: {error}}
              raise Exception(intents["status"])
  
          return [Intent(intent_json=i) for i in intents]
docs: Returns a list of intent json objects