Dashboard Overview
The Observability dashboard is your central hub for monitoring agent health at a glance. Open it by navigating to Observability in the left sidebar. The top of the page surfaces four key metrics refreshed in real time:Runs Completed
Total workflow executions that finished successfully within the selected time window.
Success Rate
Percentage of runs that completed without errors, helping you spot reliability regressions quickly.
Avg. Response Time
Mean end-to-end latency across all runs, broken down by agent or workflow when you drill in.
Token Usage
Aggregated input and output tokens consumed by all model calls, mapped to cost estimates per plan.
Workflow Run Logs
Every time a workflow executes, Layest records a structured run log you can inspect at any time. To access run logs:- Go to Observability → Runs in the left sidebar.
- Use the search bar to filter by agent name, status (
success,error,running), or trigger type. - Click any row to open the Run Detail panel.
- Run ID — a unique identifier you can reference in support requests or API queries.
- Trigger — what started the run (manual, scheduled, webhook, or API call).
- Status — current or final state with a color-coded badge.
- Duration — total wall-clock time from trigger to completion.
- Input / Output — the exact payload passed into the workflow and the final response returned.
- Step breakdown — each step’s name, duration, and result.
Trace View
The trace view gives you a step-by-step timeline of a single workflow execution, making it easy to pinpoint exactly where time is spent or where errors originate. Open a trace by clicking View Trace inside any run detail panel. The trace renders as a waterfall diagram:- Each horizontal bar represents one workflow step (LLM call, tool execution, data lookup, conditional branch).
- Bar width is proportional to that step’s duration.
- Bars are color-coded: green for success, red for error, yellow for warning or retry.
- Click any bar to expand the step detail drawer, which shows the raw input sent to that step, the output or error returned, the model or integration used, and token counts for LLM steps.
Traces are stored at full resolution for 7 days on the Free plan, 30 days on Pro, and 90 days on Enterprise. Aggregated metrics (without raw payloads) are retained for 12 months on all paid plans.
Error Tracking and Alerting
Layest automatically captures every unhandled error in a workflow and surfaces it in Observability → Errors. The error list shows:- Error type and message
- Which workflow step and agent triggered it
- First seen / last seen timestamps
- Occurrence count over the selected period
Setting Up Alerts
To receive notifications when errors exceed a threshold:1
Open Alert Rules
Navigate to Observability → Alerts and click New Alert Rule.
2
Choose a Metric
Select the metric to watch: error rate, run failure count, average latency, or token spend.
3
Set a Threshold
Enter the value that triggers the alert (for example, error rate above 5% over a 15-minute window).
4
Choose a Notification Channel
Add an email address, a Slack webhook URL, or a third-party incident management integration key.
5
Save and Activate
Click Save Rule. The rule becomes active immediately and will fire whenever the threshold is breached.
Usage Analytics
The Analytics tab provides a broader view of how your workspace consumes Layest resources over time.Agent Usage Over Time
A time-series chart showing run volume per agent, letting you identify which agents are most active and spot unusual spikes.
Top Agents
A ranked list of agents by run count, success rate, and average latency so you can focus optimization where it matters most.
Model Usage Breakdown
Per-model token consumption and estimated cost, segmented by agent and date range.
Trigger Distribution
A breakdown of how runs are initiated — manual, scheduled, webhook, or API — to understand how teams and systems rely on your agents.
Exporting Analytics Data
You can export any analytics view as a CSV for further analysis in external tools.- Navigate to the analytics view you want to export (runs list, model usage, error list, etc.).
- Apply any filters you need (date range, agent, status).
- Click the Export button in the top-right corner of the table.
- Select CSV or JSON as the output format.
- The file downloads immediately to your browser.