Models
Get Batch Predictions
Uses this model to make a prediction for values of new data.
POST
/
api
/
projects
/
{projectName}
/
models
/
{modelName}
/
predict
There are two ways to get batch predictions:
- Join the model with data tables and use the query endpoint to query for batch predictions.
- Query the model using this endpoint and provide data to be used by the model in the request.
The REST API endpoints can be used with MindsDB running locally at http://127.0.0.1:47334/api.
Path Parameters
projectName
string
requiredThe name of the project
modelName
string
requiredThe name of the model
Body
application/json ยท any[]
The body is of type any[]
.
Response
200 - application/json
The response is of type object
.
Was this page helpful?