v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Gets the logs for a chainlet within a chain deployment

Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.

get/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_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.

replicastring nullable

Only return logs emitted by this replica (5-char short ID).

request_idstring nullable

Only return logs tagged with this inference request ID.

componentstring nullable

Only return logs from this component.

search_patternstring nullable

RE2 regular expression matched against the log message. Prefer includes and excludes for plain substring matches.

includesstring[]

Case-sensitive substrings that must all appear in the log message.

excludesstring[]

Case-sensitive substrings; lines containing any of these are dropped.

Response