v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets the logs for a training job

Gets the logs for a training job with the provided filters.

get/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs

Query parameters

start_epoch_millisinteger nullable

Epoch milliseconds at which to start fetching logs. Defaults to 30 minutes before the end. The window from start to end must not exceed 7 days.

end_epoch_millisinteger nullable

Epoch milliseconds at which to stop fetching logs. Defaults to the current time.

direction'asc' | 'desc'

Sort order for logs

limitinteger nullable

Limit of logs to fetch in a single request

min_level'DEBUG' | 'INFO' | 'WARNING' | 'ERROR'

A log severity level.

Minimum log severity to include. Omit to return all log lines, including lines that have no level. Any explicit value returns lines at or above that severity and drops lines without a level.

Response