cURL
curl --request POST \ --url https://api.example.com/api/models/{model_id}/retrain \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "dataset_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "idempotency_key": "<string>" } '
{ "model_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "model_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "<string>", "ml_runtime_version": "<string>" }
Create a new model version and dispatch a retraining job.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request to retrain an existing model with a new dataset version.
Successful Response
Response for training a model.
Was this page helpful?