Where to Look
In Scout Studio, open any agent and use these two views:- History — review prior sessions and conversations, with timestamps, tags, and summaries
- Logs — inspect every tool call, model decision, and execution event in a session
Activity Logs: History
The History tab shows every session your agent has handled. Each row includes:- Session ID — a unique identifier for the interaction
- Timestamp — when the session started and how long it ran
- Tags — any metadata tags attached when the session was created
- Summary — a brief description of the conversation
Execution Traces: Logs
The Logs tab gives you a step-by-step trace of every event in a session. Each entry captures one thing the agent did — a model call, a tool invocation, an error — in the order it happened.| Event type | What it shows |
|---|---|
llm_call | The prompt sent to the model and the response returned |
tool_call | The tool name, input arguments, and output received |
tool_error | A tool call that failed, with the error message |
session_start | Timestamp and metadata when the session began |
session_end | Timestamp, duration, and final status when the session closed |
llm_call entries show you exactly what context the model received at each step — so you can spot truncated history, missing tool results, or a prompt that drifted off course. The tool_call entries show you the exact input the agent passed to each tool and the exact output it got back, so you can verify tools are being used correctly.
Debugging a failed tool call
Switch to Logs
In the session detail view, open the Logs tab and scroll to find the relevant sequence of events.
Find the tool_error event
Look for a
tool_error entry. It shows the input the agent passed to the tool and the error message the tool returned.Tool Usage
The Logs view surfaces every tool call your agent made in a session — reads, writes, API calls, code executions, and any other tool the agent invoked. For each call you can see:- Which tool was called and when
- What input the agent passed — the exact arguments, queries, or payloads
- What the tool returned — the full response, including any errors
- How long the call took
When a tool input uses Variables, the Logs view shows the resolved values that were passed to the tool. Sensitive header values are sanitized rather than logged raw.
Interaction Tags
You can attach metadata tags to any agent session by including them in the API request. Scout stores these tags on the session record so you can filter History by them later. Common tagging patterns:source:eval— test and evaluation trafficsource:end_user— live user sessionscampaign:q1— sessions tied to a specific campaignteam:support— sessions from a particular team
Tag rules
- Up to 20 tags per request
- Up to 32 characters per tag
- Allowed characters: lowercase letters, numbers,
:,_, and- - Scout automatically trims whitespace, lowercases values, removes empty tags, and deduplicates
- Requests with invalid tags return
400 Bad Request
Sending tags in a request
Filtering History by tags
In the History tab, use the tag filter to find sessions by tag value:- Press
Enteror,to turn a typed value into a filter chip - Use ANY to return sessions that contain at least one of your selected tags
- Use ALL to return sessions that contain every selected tag
- Tag filters work alongside date range, duration, and pagination controls
Using Observability to Build Trust
Observability isn’t just for debugging — it’s how you and your team build confidence that agents are doing what you intended. Verify behavior after instruction changes. After updating your agent’s instructions, run a few test sessions and review the Logs to confirm the agent is following the new guidance. Don’t assume — check. Audit high-stakes actions. For agents that write to a CRM, send emails, or modify records, use tool call logs to confirm every action was appropriate. The logs give you a timestamped record of exactly what the agent did and with what input. Identify patterns in failures. Filter History by failed sessions and look for common causes across Logs entries. A recurringtool_error on the same tool often points to a misconfigured integration, a rate limit, or an instruction that produces bad tool inputs.
Compare test traffic to real traffic. Use source:eval and source:end_user tags to keep evaluation sessions separate from live sessions, then compare them side by side in History to catch regressions before they affect users.
Best Practices
- Use a consistent prefix scheme for tags —
source:,campaign:,team:— so filters stay predictable - Keep tag values short and exact; avoid spaces and special characters
- Use
source:evalconsistently for all test and evaluation traffic so it’s easy to filter out of production metrics - Don’t put sensitive or user-identifying information in tags — they appear in the Studio UI and can be seen by workspace members
- Review logs for the first few runs after any significant change to agent instructions, tools, or model settings