Last updated 2 months ago
Was this helpful?
/v1/public-files
curl -L \ --url 'https://api.netmind.ai/v1/public-files'
[ { "id": "text", "file_name": "text", "purpose": "fine-tune", "created_at": 1, "token": 1, "length": 1, "bytes": 1, "description": "" } ]
/v1/fine-tuning/template
Your API token
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/template' \ --header 'Authorization: text'
[ { "pricing": 1, "name": "text", "default_hyperparameters": {} } ]
/v1/fine-tuning/job
curl -L \ --request POST \ --url 'https://api.netmind.ai/v1/fine-tuning/job' \ --header 'Authorization: text' \ --header 'Content-Type: application/json' \ --data '{ "model": "text", "training_file_id": "text", "hyperparameters": {} }'
{ "id": "text" }
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job' \ --header 'Authorization: text'
[ { "id": "text", "model": "text", "training_file_id": "text", "status": "queued", "created_at": 1, "hyperparameters": {} } ]
/v1/fine-tuning/job/{job_id}
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}' \ --header 'Authorization: text'
{ "id": "text", "model": "text", "training_file_id": "text", "status": "queued", "created_at": 1, "hyperparameters": {} }
/v1/fine-tuning/job/{job_id}/event
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/event' \ --header 'Authorization: text'
[ { "message": "", "level": "info", "created_at": 1 } ]
/v1/fine-tuning/job/{job_id}/checkpoint
curl -L \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/checkpoint' \ --header 'Authorization: text'
[ { "id": "text", "checkpoint": "text", "step": 1, "metrics": { "loss": 1 }, "created_at": 1 } ]
/v1/fine-tuning/job/{job_id}/checkpoint/{checkpoint_id}/deploy
curl -L \ --request POST \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/checkpoint/{checkpoint_id}/deploy' \ --header 'Authorization: text'
{ "service_id": "text" }
/v1/fine-tuning/job/{job_id}/cancel
curl -L \ --request POST \ --url 'https://api.netmind.ai/v1/fine-tuning/job/{job_id}/cancel' \ --header 'Authorization: text'
No body