Submit a fine-tune job
Submit a fine-tune job for a base model and dataset, and return its id.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Body
Submit a fine-tune.
"llama-3-support-lora"
"meta-llama/Llama-3.1-8B-Instruct"
Volume path or Hugging Face dataset id
A hardware accelerator request — GPU, NPU, TPU, or similar.
Request an accelerator by type and count, with optional fallback types.
Volume where checkpoints are written
lora, qlora, full Name/ID of a built image; defaults to a stock trainer
{ "epochs": 3, "learning_rate": 0.0002 }Response
Successful Response
A fine-tune job.
queued, running, succeeded, failed, cancelled 0.0–1.0 if known