Logs
Get log entries for a step.
Args: step_id: ID of the step for which to get the logs. source: The source of the logs to get. logs_id: The ID of the logs to get.
Returns: List of log entries.
Raises: ValueError: If both source and logs_id are provided. KeyError: If no logs are available for this step.
Successful Response
A structured log entry with parsed information.
This is used in two distinct ways: 1. If we are using the artifact log store, we save the entries as JSON-serialized LogEntry's in the artifact store. 2. When queried, the server returns logs as a list of LogEntry's.
The log message content
The name of the logger
The log level
Enum for logging levels.
When the log was created
The module that generated this log entry
The name of the file that generated this log entry
The fileno that generated this log entry
The index of the chunk in the log entry
0The total number of chunks in the log entry
1The unique identifier of the log entry
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
Last updated
Was this helpful?