Skip to content

Lora Training Log

GET
/api/lora-training/log
curl --request GET \
--url 'https://example.com/api/lora-training/log?job_name=example' \
--header 'Authorization: Bearer <token>'

The trainer’s own log for a job, passed through from ai-toolkit.

offset is the byte offset from the previous response; omit it for the tail. Returns {log, offset, reset}; reset means the text replaces what you have.

job_name
required
Job Name
string
offset
Any of:
integer

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}