========================== Retrieve Prediction Titles ========================== The ``retrieve_prediction_titles`` session, is an implementation that retrieves all prediction titles, based upon the supplied ``model_type``, from the applications database, via the ``/retrieve-prediction-titles`` endpoint: - `svm example `_ - `svr example `_ - `combined example `_ **Note:** the content of each of the above examples, can be substituted for the ``data`` attribute, in a given ``POST`` request: .. code:: python import requests endpoint = 'https://192.168.99.101:9090/retrieve-prediction-titles' headers = { 'Authorization': 'Bearer ' + token, 'Content-Type': 'application/json' } requests.post(endpoint, headers=headers, data=json_string_here) **Note:** more information, regarding how to obtain a valid ``token``, can be further reviewed, in the ``/login`` `documentation <../authentication/login>`_. The following properties define the above ``data`` attribute: - ``model_type``: corresponds to the desired model type: - ``all``: pertains to all stored model types - ``svm``: pertains only to the support vector machine model type - ``svr``: pertains only to the suppport vector regression model type