Logs
Track agent executions and debug issues using the logs panel.
The logs panel provides detailed records of all AI agent executions, showing how requests were processed, which nodes executed, and where errors occurred.
Overview
Logs provide:
- Debugging: Quickly identify problems and errors
- Monitoring: Track agent performance
- Analysis: Understand how the agent makes decisions
- Optimization: Identify bottlenecks in logic
When to Use Logs
- After chat testing — verify execution details
- When errors occur — find the cause
- To analyze tool usage
- To verify data correctness between nodes
Logs Panel
Opening the Panel
The logs panel is located at the bottom of the agent editor:
- Open your AI agent in the editor
- The logs panel displays automatically at the bottom
- If closed, click the Logs button in the bottom of the interface
Panel Structure
The logs panel has three sections:
| Section | Description |
|---|---|
| History | List of all agent executions with filters and status |
| Nodes | Nodes executed in the selected run, in execution order |
| Details | Input/output data, errors, and metadata for selected node |
Resizing Panels
- Panel height: Drag the top border up/down
- Section width: Drag dividers between sections left/right
Execution History
The left section shows all agent executions.
Execution List
Each execution displays:
- Time: When it was run (HH:mm • DD MMM YYYY)
- Status: Execution state icon
- Duration: How long execution took (milliseconds)
Execution statuses:
| Icon | Status | Description |
|---|---|---|
| Spinner | In Progress | Execution running |
| Green check | Success | Completed successfully |
| Red X | Failed | Completed with error |
Selecting an Execution
- Click on an execution in the list
- The execution is highlighted
- The Nodes section loads executed nodes
- Executed nodes are highlighted on the canvas
Filtering
Filters help find specific executions among many logs.
Time Filter
Available options:
- Last hour: Executions from the past hour
- Last day: Executions from the past 24 hours
- Last week: Executions from the past 7 days
- Manually: Specify exact date range
Executor Filter
Filter by how the agent was triggered:
- Manual: Runs from chat via the Run button
- API: Calls through API endpoints
- Scheduled: Automatic runs via cron
Parent Filter
- Has Parent: Show only executions called from other agents
- No Parent: Show only root executions
If your agent calls other agents (sub-agents), the parent filter helps distinguish main runs from nested calls.
Sorting and Refresh
- Sort: Toggle between newest first (default) or oldest first
- Refresh: Update the logs list with new executions
Viewing Nodes
The middle section shows nodes executed in the selected run.
Node List
Displays:
- Execution order: Nodes listed in order of execution
- Node name: Name from the canvas
- Node type: Start, AI Agent, Tool, Output, etc.
- Status: Successfully executed or failed with error
Selecting a Node
- Click on a node in the list
- The canvas automatically scrolls to that node
- The Details section shows execution details
Execution Details
The right section shows detailed information about the selected node.
Detail Structure
Input:
- Data the node received
- Format: JSON
- Expandable structure
Output:
- Result of node execution
- What the node passed to subsequent nodes
- Format: JSON
Execution Info:
- Start time
- End time
- Duration
- Execution ID
Error:
- If the node failed, displays:
- Error message
- Stack trace (if available)
- Error code
Debugging
Logs are the primary tool for debugging agent issues.
Finding Errors
Step 1: Find the problematic execution
- Open the logs panel
- Find an execution with Failed status
- Click on it
Step 2: Identify the problematic node
- In the Nodes section, find the node with error (usually marked red)
- Click on it
Step 3: Study the error details
- In Details, scroll to the Error section
- Read the error message
- Analyze the input data
Common Debugging Scenarios
Agent doesn't call the expected tool
- Find the execution in logs
- Check the node list — is the Tool there?
- If Tool is missing:
- Verify the Tool is connected to the AI Agent node
- Check Tool description (agent uses it for selection)
- Improve agent prompt to be more explicit
Node outputs incorrect data
- Find the node in logs
- Check Input — is input data correct?
- Check Output — what exactly is incorrect?
- Trace back through the chain to find where data went wrong
External service connection error
- Find the error in Details → Error
- Common errors:
401 Unauthorized→ Check API key in connector403 Forbidden→ Check access permissions404 Not Found→ Check URL/endpointTimeout→ Check network connection and timeouts
Performance Analysis
- Each execution shows total time (ms)
- Each node shows its execution time
- Find nodes with high duration — these are bottlenecks
Optimization tips:
- Slow Tool → optimize the request or increase timeout
- Slow AI Agent → reduce max tokens or simplify prompt
- Slow JS node → optimize the code
Best Practices
Regular Monitoring
- Check logs after each deployment
- Monitor errors in production
- Analyze performance weekly
Using Filters
- Time filter for analyzing specific periods
- Executor filter for separating dev/production analysis
- Save problematic executions for analysis
Debugging
- Always start with Failed executions
- Check Input for each node
- Compare successful and problematic executions
- Document found issues
Troubleshooting
Logs don't load
- Refresh the page
- Click the Refresh button in the logs panel
- Check filters — they may be too restrictive
New executions not showing
- Click Refresh
- Check time filter — increase the period
- Verify the agent actually executed
Node details not visible
- Ensure an execution is selected in History
- Click on a node in the Nodes section
- Refresh the page if details don't load