Last updated 27 days ago
Successful Response
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/template', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
[ { "pricing": 0, "name": "text" } ]
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job/{job_id}/checkpoint/{checkpoint_id}/deploy', { method: 'POST', headers: { "Authorization": "text" }, }); const data = await response.json();
{ "service_id": "text" }
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job/{job_id}/checkpoint/{checkpoint_id}/download', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
{ "presigned_url": "https://example.com" }
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
[ { "id": "text", "model": "text", "training_file_id": "text", "status": "queued", "created_at": 0 } ]
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job/{job_id}', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
{ "id": "text", "model": "text", "training_file_id": "text", "status": "queued", "created_at": 0 }
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job/{job_id}/event', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
[ { "message": "text", "level": "info", "created_at": 0 } ]
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job/{job_id}/cancel', { method: 'POST', headers: { "Authorization": "text" }, }); const data = await response.json();
{ "detail": [ { "loc": [ "text" ], "msg": "text", "type": "text" } ] }
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job/{job_id}/checkpoint', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
[ { "id": "text", "checkpoint": "text", "step": 0, "metrics": { "loss": 0 }, "created_at": 0 } ]
const response = await fetch('https://api.netmind.ai/v1/fine-tuning/job', { method: 'POST', headers: { "Authorization": "text", "Content-Type": "application/json" }, body: JSON.stringify({ "model": "text", "training_file_id": "text" }), }); const data = await response.json();
{ "id": "text" }