> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zynfo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Exporting Data: Download AI Agent Chat Transcripts

> Export full conversational transcripts and metadata from your AI agent interactions for compliance, backup, or advanced data analysis.

# Exporting Data

For legal compliance, record-keeping, or advanced data analysis, you may want to securely export your AI agent chat transcripts.

## How to Export a Session

1. Navigate to the **Chat Sessions** page in your dashboard.
2. Select the specific conversation you want to export from the sidebar.
3. In the top right corner of the dashboard, click the **Export** button.
4. A structured JSON file will automatically download to your computer.

## Export File Format

The exported JSON file includes highly detailed session metadata:

* Unique Session ID and API Token
* Precise Start and End timestamps
* Total conversation duration
* A chronological array of all messages (including whether they were sent by the `user`, the `assistant` (AI agent), or a human `agent`).
* The specific Knowledge Base **Sources** the AI agent utilized to generate each individual response.

## Related Topics

* [Inbox and Session Management: Track AI Agent Conversations](/inbox/session-management)
* [Human Handoff: Seamless Escalation from AI Agents](/inbox/human-handoff)
* [Analytics: Measure AI Agent and Customer Satisfaction](/inbox/analytics)
