Create a new training job with the same configuration as an existing training job.
cURL
curl --request POST \ --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/recreate \ --header "Authorization: Api-Key $BASETEN_API_KEY"
{ "training_job": { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "current_status": "<string>", "error_message": "<string>", "instance_type": { "id": "<string>", "name": "<string>", "memory_limit_mib": 123, "millicpu_limit": 123, "gpu_count": 123, "gpu_type": "<string>", "gpu_memory_limit_mib": 123 }, "updated_at": "2023-11-07T05:31:56Z", "training_project_id": "<string>", "training_project": { "id": "<string>", "name": "<string>" } } }
You must specify the scheme 'Api-Key' in the Authorization header. For example, Authorization: Api-Key <Your_Api_Key>
Authorization: Api-Key <Your_Api_Key>
A response that sends the new training job
Was this page helpful?