POST
/
api
/
projects
/
{projectName}
/
models
curl --request POST \
  --url http://127.0.0.1:47334/api/projects/{projectName}/models \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>"
}'
{
  "name": "<string>",
  "accuracy": 123,
  "active": true,
  "version": 123,
  "status": "<string>",
  "predict": "<string>",
  "mindsdb_version": "<string>",
  "error": "<string>",
  "fetch_data_query": "<string>",
  "created_at": "<string>",
  "training_time": "<string>",
  "update": "<string>"
}

The REST API endpoints can be used with MindsDB running locally at http://127.0.0.1:47334/api.

Path Parameters

projectName
string
required

The name of the project

Body

application/json

Response

200
application/json
Model training started

The response is of type object.