code: def get_workflows() -> dict:
      
      keys = DB.get_keys("workflow_definitions:*")
      known_workflows = dict()
      for key in keys:
          values = key.split(':')
          if values[1] not in known_workflows:
              known_workflows[values[1]] = list()
          known_workflows[values[1]].append(values[2])
  
      return known_workflows
docs: Get dict of ALL known workflow definitions.
  
      Returns
          list[dict]