API
| Method | Path | Auth | Description |
|---|---|---|---|
GET | /admin/training-jobs | admin | List training jobs |
POST | /admin/training-jobs | deployer.training.manage | Create a training job |
GET | /admin/training-jobs/{id} | admin | Get job details and status |
POST | /admin/training-jobs/{id}/cancel | deployer.training.manage | Cancel a pending or running job |
POST | /admin/training-jobs/{id}/register | deployer.models.manage | Register completed artifact in the model catalog |
Create a training job
Execution targets
- kubernetes
- dstack
Submits a torchtune-style training job to your Kubernetes cluster. ManyLayers polls job status and records the artifact URI when the job completes.
Job lifecycle
Register a completed model
After a training job succeeds, register the artifact in the gateway model catalog:<base-model>-lora-<job-id[:8]> that you can then deploy via POST /admin/deployments.