Skip to content

models module route (requires models:registry:write)

POST
/v1/m/models/finetune-jobs
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.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

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
>= 1 characters /\S/
note
string
result_version_ref
string
runtime
string
Allowed values: "" vllm ollama llamacpp other
started_at

Accepted by the DTO; an invalid timestamp is silently omitted by the handler.

string
status
string
default: queued
Allowed values: "" queued running succeeded failed canceled

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
{}