---
schema_version: "1"
id: 9904ad310d630102e9a8c1c30f0b4c337f94b97a74d39d796975b89ce7fa1f73
title: Agentforce Session Tracing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/generative_ai_session_trace.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.generative_ai_session_trace.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c5902b8426ce5e75c27884683debd0f2faccc0a42e266fc82ae77dea5595e62f
description: Agentforce session tracing captures detailed agent interaction data in a unified data model on Data 360. Build dashboards, reports, and queries on this data to derive insights into agent behavior and trends. Take data-driven action while testing, debugging, and monitoring agents in sandbox or production environments.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Agentforce Session Tracing

Agentforce session tracing captures detailed agent interaction data in a unified data model on Data 360. Build dashboards, reports, and queries on this data to derive insights into agent behavior and trends. Take data-driven action while testing, debugging, and monitoring agents in sandbox or production environments.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with an Einstein for Sales, Einstein for Platform, Einstein for Service, Einstein 1 Service, or Einstein GPT Service add-on. To purchase add-ons, contact your Salesforce account executive.</td></tr></tbody></table>

- **[About Agentforce Session Tracing](https://help.salesforce.com/s/articleView?id=ai.generative_ai_session_trace_about.htm&release=264.0.0&type=5)**  
    Agentforce session tracing captures details on agent interactions with users from start to finish. Agentforce session tracing ingests data from different sources (starting with reasoning engine logs) and combines everything under a session ID. The log provides detailed information into what happened during agent sessions: turn-by-turn interactions, reasoning engine executions, actions, prompt and gateway inputs/outputs, error messages, and final responses.
- **[Set Up Agentforce Session Tracing](https://help.salesforce.com/s/articleView?id=ai.generative_ai_session_trace_setup.htm&release=264.0.0&type=5)**  
    Turn on Agentforce Session Tracing to collect and store, in Data 360, detailed data about agent sessions. By default, Agentforce Session Tracing is off. For orgs with only one dataspace, it’s turned on by default when Agentforce is turned on.
- **[Data Model for Agentforce Session Tracing](https://help.salesforce.com/s/articleView?id=ai.generative_ai_session_trace_data_model.htm&release=264.0.0&type=5)**  
    Use the data model in Data 360 to build reports, dashboards, and queries that provide insights into agent behavior. The system streams data to data lake objects (DLOs) in Data 360 within minutes. Access the data via the standard data model objects (DMOs), which are mapped to the DLOs.
- **[Get Insights from Agentforce Session Tracing Data](https://help.salesforce.com/s/articleView?id=ai.generative_ai_session_trace_use.htm&release=264.0.0&type=5)**  
    To analyze Agentforce session tracing data, you can use observability dashboards, run queries, and build Data 360 reports using the data model.
- **[Billing Considerations for Agentforce Session Tracing](https://help.salesforce.com/s/articleView?id=ai.generative_ai_session_trace_usage_types.htm&release=264.0.0&type=5)**  
    Agentforce Session Tracing consumes Data 360 credits for storage used over the allocated amount.
- **[Implement Data Governance Permissions for Agentforce Session Tracing Objects](https://help.salesforce.com/s/articleView?id=ai.generative_ai_session_trace_data_governance.htm&release=264.0.0&type=5)**  
    Use Data Cloud Data Governance to protect sensitive data by setting up dynamic data masking and field-specific data exclusion policies. Grant access to the impacted Data 360 objects according to an access policy.
- **[Agent Platform Tracing](https://help.salesforce.com/s/articleView?id=ai.generative_ai_platform_trace.htm&release=264.0.0&type=5)**  
    This tracing capability provides comprehensive visibility into the actions and performance of Agentforce Agents, capturing crucial telemetry data across various services. By leveraging Data 360, users can unify this trace data with session information to create detailed reports. These reports are invaluable for monitoring Key Performance Indicators (KPIs), identifying performance bottlenecks, and quickly pinpointing the root cause of issues, ultimately enhancing the reliability and efficiency of Agent implementations.