Skip to main content

Overview

Monitor your agents through the dashboard or CLI to track performance, debug issues, and optimize execution.

Viewing Logs

Via Dashboard

1

Go to Runs

Navigate to Agentsmy_agentRuns
2

Select a run

Click on any run to view details
3

View logs

See execution timeline, logs, and results
What you’ll see:
  • Real-time execution logs
  • Action calls and results
  • Memory operations
  • Integration API calls
  • Errors and warnings
  • Final result
  • Execution time

Via CLI

Via API

Response:

Metrics

Agent Performance

View metrics in the dashboard for any agent: Execution Metrics:
  • Average execution time
  • P50, P95, P99 latency
  • Success rate
  • Error rate
Resource Metrics:
  • Action calls per run
  • Memory operations (reads/writes)
  • Integration API calls
  • Memory usage
Volume Metrics:
  • Total runs
  • Runs per day/hour
  • Active users

Example Dashboard View

Run Status

Check Run Status

Output:

Run Statuses

  • running - Currently executing
  • completed - Finished successfully
  • failed - Encountered an error
  • cancelled - Manually cancelled
  • timeout - Exceeded time limit

Recent Runs

List Runs

Webhooks

Get notified when agents complete or fail.

Setup Webhook

1

Add webhook in dashboard

  1. Go to SettingsWebhooks
  2. Click Add Webhook
  3. Enter webhook URL
  4. Select events: run.completed, run.failed, run.started
  5. Click Save
2

Receive webhook

Your endpoint receives POST requests:
3

Verify signature

Webhook Events

  • run.started - Agent run started
  • run.completed - Agent run completed successfully
  • run.failed - Agent run failed
  • run.cancelled - Agent run was cancelled

Example Webhook Handler

Alerts

Email Alerts

Get notified via email when agents fail:
  1. Go to SettingsAlerts
  2. Enable Email Alerts
  3. Select events: run.failed, run.timeout
  4. Add email addresses
  5. Save

Slack Alerts

Send notifications to Slack:
  1. Go to SettingsIntegrationsSlack
  2. Connect your Slack workspace
  3. Go to SettingsAlerts
  4. Enable Slack Alerts
  5. Select channel and events
  6. Save

Best Practices

Check your agent’s error rate regularly:
Get notified immediately when important agents fail:
  • SettingsWebhooks
  • Subscribe to run.failed events
  • Integrate with your alerting system
Check execution time trends:
  • Dashboard → Agentsmy_agentMetrics
  • Look for sudden increases in execution time
  • Optimize slow actions

Debugging Failed Runs

View Error Details

Common Issues

Cause: Agent exceeded time limitSolution: Increase timeout or optimize actions
Cause: API call to integration failedSolution: Check logs for API errors, verify API keys
Cause: Missing memory keySolution: Ensure actions store data before retrieval

Next Steps

Deploying

Deploy your agents

Invoking

Run your agents

API Reference

Full API documentation

Memory

Debug memory operations