nextCursor as cursor to continue reading; complete indicates whether the log is finished.
Signature
Method signature onclient.trainings:
Parameters
string
required
ID of the training run, with prefix
trn..string
Cursor from the previous log response; omit to start at the beginning.
number
default:"100"
Maximum number of log entries to return, from 1 to 100; defaults to 100.
Returns
Promise<TrainingRunLogs>
A page of training run logs with a cursor for the next page.
object[]
required
Log entries in this page, in stored order.
string | null
required
Cursor for the next log page, or null when no further page is currently available.
boolean
required
Whether collection of the run logs has finished.
boolean
required
Whether logs were omitted because a log size or count limit was reached.
Errors
HTTP errors throwPotatoApiError. The endpoint documents these error responses:
HTTP endpoint:
GET /training-runs/{trainingRunId}/logs.