code: def _decode_response_bulk(response_bulk):
      
      resp = []
      for response in response_bulk:
        if ("status" in response) and (response.get("status") == 201):
          agent = {"id": response["id"],
                   "message": response["message"]}
          resp.append(agent)
        elif "status" in response:
          status_code = response["status"]
          message = response["message"]
          agent = {"error": CraftAIClient._get_error_from_status(status_code, message)}
          try:
            agent["id"] = response["id"]
          except KeyError:
            pass
          resp.append(agent)
  
        else:
          resp.append(response)
  
      return resp
docs: Decode the response of each agent given by a bulk function.
  
      :param list response_bulk: list of dictionnary which represents
      the response for an agent.
  
      :return: decoded response.
      :rtype: list of dict.