models module route (requires models:registry:write)
POST
/v1/m/models/finetune-jobs
const url = 'https://example.com/v1/m/models/finetune-jobs';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"base_ref":"example","dataset_ref":"example","ended_at":"example","id":"example","name":"example","note":"example","result_version_ref":"example","runtime":"","started_at":"example","status":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/m/models/finetune-jobs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "base_ref": "example", "dataset_ref": "example", "ended_at": "example", "id": "example", "name": "example", "note": "example", "result_version_ref": "example", "runtime": "", "started_at": "example", "status": "" }'Creates one fine-tune job; a result version, when set, must already exist.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-Olivares-Tenant
string format: uuid
Target tenant id; required when the principal can act in more than one tenant.
Request Body required
Section titled “Request Body required ” Media type application/json
object
base_ref
string
dataset_ref
string
ended_at
Accepted by the DTO; an invalid timestamp is silently omitted by the handler.
string
id
string
name
required
string
note
string
result_version_ref
string
runtime
string
started_at
Accepted by the DTO; an invalid timestamp is silently omitted by the handler.
string
status
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}Bad request
Media type application/json
object
Example generated
{}Unauthenticated
Media type application/json
object
Example generated
{}Forbidden
Media type application/json
object
Example generated
{}Not found
Media type application/json
object
Example generated
{}Conflict / setup required
Media type application/json
object
Example generated
{}Rate limited
Media type application/json
object
Example generated
{}