get_flow_run_logs
Retrieve execution logs from a Prefect flow run to view timestamps, log levels, and messages for debugging and monitoring.
Instructions
Get execution logs for a flow run.
Retrieves log entries from the flow run execution, including timestamps, log levels, and messages.
Examples: - Get logs: get_flow_run_logs(flow_run_id="...") - Get more logs: get_flow_run_logs(flow_run_id="...", limit=500)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of log entries to return | |
| flow_run_id | Yes | UUID of the flow run to get logs for | |
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes | ||
| error | Yes | ||
| limit | Yes | ||
| success | Yes | ||
| truncated | Yes | ||
| flow_run_id | Yes |