v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets logs for a Loops trainer deployment

Fetches logs from the trainer pods of a Loops deployment. Visible to any member of the deployment's team.

get/v1/loops/deployments/{deployment_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