Handling Single Prediction
The handle_single_prediction API is designed to handle single predictions by sending a POST request to a prediction endpoint. It takes input data containing the usecase ID, version, and data for prediction. The prediction is made by asynchronously posting the data to the specified prediction endpoint.
- Method
- POST
- Endpoint
- /v1/aion/problemtypes/prediction/singleinstance/
- Request Parameters
-
usecaseid Mandatory The ID of the use case for which you want the prediction results. model_version Mandatory The version number of the model. predict_file_path The path where the prediction results are to be stored. After providing the values, click Execute.
- Response Parameters
- After clicking Execute, you get a Response similar to
the following example: