get_training_job_result
Fetch training job artifacts as hosted URLs for checkpoints, config, and samples. Use during or after job completion to recover outputs and feed checkpoints to run_model for inference.
Instructions
Fetch a training job's artifacts as hosted URLs.
Backs ``GET /prod/v1/trainers/ai-toolkit/jobs/{job_id}/result``.
Returns checkpoints (``.safetensors``), the resolved config, and
sample outputs. Safe to call while the job is still ``RUNNING`` —
the artifact list grows over time — and after a ``FAILED`` or
``CANCELED`` job to recover whatever was produced.
Feed a checkpoint URL to ``run_model`` as
``{"lora": {"path": "<url>"}}`` to run inference on it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>"
},
"name": "get_training_job_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |