Lora Training Log
GET
/api/lora-training/log
const url = 'https://example.com/api/lora-training/log?job_name=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}