---
schema_version: "1"
id: 4d9a21f57e7b578f41f8d2ca8ffbbb70fe90fe52ae793a359f1a46ed2b8b0c65
title: Export Agentforce Session Trace Data (Beta)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/260-0-0/rn_agentforce_session_trace_otel.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_agentforce_session_trace_otel.htm&release=260&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b443cafbb9ef9eb4e0bcab3f4854d8875b33a5ba08bdf0f26f23725b263d3d06
description: Dig deeper into agent sessions with the new Agentforce Session Trace OTel API. Extract a single, unified JSON view of a full session trace. Then import the output into your favorite observability tool or OpenTelemetry Protocol (OTLP) collector for further investigation.
products:
  - Cross Cloud Packages Solutions
release: "260"
---
# Export Agentforce Session Trace Data (Beta)

Dig deeper into agent sessions with the new Agentforce Session Trace OTel API. Extract a single, unified JSON view of a full session trace. Then import the output into your favorite observability tool or OpenTelemetry Protocol (OTLP) collector for further investigation.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-salesforce_release_notes-260-0-0-production-enus/ba62a63b-6cd1-440e-8d24-e867afab0363/images/icon_note.png)

Note The Agentforce Session Trace OTel API is a beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/agreements/) or a written Unified Pilot Agreement if executed by Customer. Use of this beta service consumes usage types per the [Agentforce and Generative AI Usage and Billing documentation](https://help.salesforce.com/s/articleView?id=ai.generative_ai_usage.htm&type=5&language=en_US) and is at the Customer's sole discretion.

**What:** The JSON output includes every step of an Agentforce agent interaction: turns, messages, LLM calls, actions, RAG retrievals, quality scores, and feedback. The output format conforms with the [OpenTelemetry (OTLP) specification](https://opentelemetry.io/docs/specs/otlp/).

**Where:** This change applies to Lightning Experience in Enterprise, Performance, Unlimited, and Developer editions with Foundations or Agentforce 1 editions.

**When:** This change is available starting April 10, 2026.

**How:** In Setup, go to **Einstein Audit, Analytics, and Monitoring Setup** and turn on Agentforce Session Tracing and Audit and Feedback. Next, authenticate by using OAuth 2.0 via an [external client app (ECA)](https://help.salesforce.com/s/articleView?id=xcloud.external_client_apps.htm&type=5&language=en_US). Or authenticate by using your favorite REST client and the auth token from the ECA. Run the API against the REST endpoint, passing in a session ID. Then import the output into Splunk, Datadog, New Relic, or any OpenTelemetry Protocol (OTLP) collector.

#### See Also

- [_Developer Guide_: Export Agentforce Session Tracing Data (Beta)](https://developer.salesforce.com/docs/ai/agentforce/guide/otel-api.html)