code: public ApiSuccessResponse getAgentHistory(AgentHistoryData agentHistoryData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = getAgentHistoryWithHttpInfo(agentHistoryData);
          return resp.getData();
      }
docs: Get the history of interactions for the agent
  
  @param agentHistoryData  (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body