cURL
curl --request POST \ --url http://127.0.0.1:47334/v1/api/api/projects/{projectName}/models/{modelName}/predict \ --header 'Content-Type: application/json' \ --data '[ "<any>" ]'
[ { "__mindsdb_row_id": null, "days_on_market": null, "location": null, "neighborhood": null, "number_of_bathrooms": null, "number_of_rooms": null, "rental_price": 2847, "rental_price_anomaly": null, "rental_price_confidence": 0.99, "rental_price_explain": "{\"predicted_value\": 2847, \"confidence\": 0.99, \"anomaly\": null, \"truth\": null, \"confidence_lower_bound\": 2730, \"confidence_upper_bound\": 2964}", "rental_price_max": 2964, "rental_price_min": 2730, "rental_price_original": null, "select_data_query": null, "sqft": 823, "when_data": null } ]
Uses this model to make a prediction for values of new data.
The name of the project
The name of the model
The body is of type any[].
any[]
Model queried succesfully
The response is of type object.
object