Exporting Data
Hunch allows you to export your session data for further analysis. This guide covers the export options available.
Export Formats
Hunch supports two export formats:
- CSV: Spreadsheet-compatible format for Excel or Google Sheets
- JSON: Machine-readable format for developers and custom analysis
Exporting Sessions
To export your session data:
- Go to the Analytics section in your dashboard
- Navigate to the Sessions list
- Click the Export button
- Select your preferred format (CSV or JSON)
- Choose the date range for export
- Click Download
CSV Export
The CSV export includes the following columns:
| Column | Description |
|---|---|
| Session ID | Unique identifier for the session |
| Website | Which website the session occurred on |
| Start Time | When the session began |
| Duration | How long the conversation lasted |
| Message Count | Total messages in the session |
| Status | AI handled or human escalated |
JSON Export
The JSON export provides comprehensive session data including:
- Full message history for each session
- Visitor metadata
- Timestamps for each message
- Session attributes
Example JSON structure:
{
"sessions": [
{
"id": "session_123",
"website": "example.com",
"started_at": "2024-01-15T10:30:00Z",
"duration_seconds": 300,
"messages": [
{
"role": "visitor",
"content": "What are your business hours?",
"timestamp": "2024-01-15T10:30:05Z"
},
{
"role": "ai",
"content": "We're open Monday-Friday 9am-5pm",
"timestamp": "2024-01-15T10:30:10Z"
}
]
}
]
}
Use Cases
Export your data for:
- Reporting: Create custom reports for stakeholders
- Analysis: Perform deeper analysis on conversation patterns
- Backup: Keep a local copy of your data
- Integration: Import data into other tools or databases
Data Retention
Exported data includes all sessions within your selected date range. Plan your exports regularly to maintain comprehensive records of your visitor conversations.