Skip to main content
Beta

AI Foundry is in beta. We are actively shaping the product, so things may change as we iterate. Your feedback is welcome.

Observability

The Observability page gives you real-time visibility into how your agents and playbooks are performing in production. It surfaces aggregate usage statistics, charts, and a searchable session list, making it easier to diagnose problems, monitor costs, and understand usage patterns across your AI workloads.

AI Foundry Observability

Getting there

Navigate to Observability from the left sidebar. The page is split into two tabs:

  • Overview (aggregate metrics and charts)
  • Sessions (a searchable log of individual sessions).

Filter bar

All views on the Observability page are driven by a shared filter bar at the top:

FilterDescription
PlaybookSelect a specific playbook to narrow metrics and session list to that playbook's activity.
Date rangePick a start and end date. Metrics and charts update to cover only the selected time window.
User IDOptionally enter a user ID to filter sessions belonging to a specific end user.

Overview tab

The Overview tab shows aggregate statistics and time-series charts for the selected filter scope.

Statistics cards

Six summary cards appear at the top of the Overview:

MetricDescription
Total SessionsNumber of agent sessions recorded in the selected window.
Avg Response TimeMean end-to-end response latency in milliseconds.
Input TokensTotal tokens sent to LLM providers (prompt + context).
Output TokensTotal tokens generated by LLM providers.
Cached TokensTokens served from the provider's prompt cache (reduces cost).
Thinking TokensTokens consumed by extended-thinking / reasoning steps (if enabled).

Charts

Below the cards, four charts visualize trends over the selected time range:

  • Success / failure rate: Pie chart showing the proportion of sessions that completed successfully versus those that ended in an error.
  • Agent distribution: Bar chart showing how many sessions used each agent.
  • Tool usage frequency: Bar chart showing the most frequently called tools across all sessions.
  • Sessions over time: Line chart showing session volume per day/hour.
  • Token consumption over time: Stacked area chart breaking down input, output, cached, and thinking tokens per day/hour.

Sessions tab

The Sessions tab lists every recorded session in a paginated table, with 20 rows per page.

Columns

ColumnDescription
Agent/PlaybookThe playbook (or agent) that handled the session.
Session IDTruncated session identifier; hover to see the full ID.
Session nameHuman-readable label for the session (if set by the caller).
User IDThe end-user identifier passed at session creation time.
EventsTotal number of events recorded in the session.
DurationWall-clock duration from the first to the last event.
TokensCompact token summary (↑ input, ↓ output, cached, thinking).

Opening a session

Click any row to open the Session Detail page for that session, or use the drawer preview to inspect the event timeline without leaving the list.

Session Detail page

The Session Detail page (/observability/sessions/:sessionId) provides a full trace of a single session.

Event timeline

Events are displayed in chronological order. Each event is annotated with:

  • Type tag (color-coded): User Message, Agent Message, Tool Call, Tool Response, Handoff, or Other.
  • Timestamp: When the event occurred.
  • Author: Which agent produced the event (useful for multi-agent flows).

Event content

Event typeRendered as
User/Agent textWhitespace-preserved text block.
Tool callCollapsible JSON block showing the function name and arguments.
Tool responseCollapsible JSON block showing the function result (or error message).
Inline imageBase64-decoded image rendered inline.

Token usage (input, output, cached, thinking) is shown per event when available from the provider.

See also

  • Playbook: multi-step agentic workflows whose sessions are tracked here.
  • Agent: the execution unit whose calls are recorded as events.
  • AI Foundry Overview: platform overview including the AI Playground.