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

# Call History

> Search, filter, and review all your AI agent calls with advanced filtering and customization

# Call History

The Call History section provides a comprehensive view of all calls made by your AI agents. You can search, filter, and analyze call data to monitor performance and identify insights with powerful filtering capabilities and customizable views.

## Accessing Call History

Navigate to **Calls** in the main menu to access your complete call history.

## Interface Overview

The calls interface consists of:

| Section          | Description                                            |
| ---------------- | ------------------------------------------------------ |
| 📊 Header        | Title, description, and selection status               |
| 🔍 Filter Bar    | Advanced filtering controls with visibility management |
| 📋 Call Table    | List of all calls with key information                 |
| 📄 Details Modal | Detailed view of individual calls                      |

## Advanced Filter System

### Filter Visibility Configuration

<Info>
  Customize which filters are visible in your interface to streamline your workflow and focus on the most relevant filtering options.
</Info>

The filter system now includes configurable visibility controls:

<Steps>
  <Step title="Access Filter Settings">
    Click the settings icon next to the filter controls to open the filter visibility panel.
  </Step>

  <Step title="Toggle Filter Visibility">
    Use the checkboxes to show or hide specific filter types based on your needs.
  </Step>

  <Step title="Save Configuration">
    Your filter visibility preferences are automatically saved for future sessions.
  </Step>
</Steps>

### Date Range Filter

Filter calls by predefined time periods or custom date ranges:

* **Today** - Calls from the current day
* **Yesterday** - Calls from the previous day
* **Last 7 Days** - Calls from the past week
* **Last 30 Days** - Calls from the past month
* **Custom Range** - Select specific start and end dates with time

<Info>
  Use the datetime picker to set precise time ranges for your searches. The filter automatically adjusts to your local timezone.
</Info>

### Agent Filter with Evaluation Trends

Filter calls by specific agents (playbooks) with enhanced analytics integration:

1. Click the **Agents** dropdown
2. Select one or multiple agents
3. The filter shows "X agents selected" when active
4. Access **"View Evaluation Trends"** directly from the agent selector for performance analysis

<Tip>
  When filtering by a single agent, the "View Evaluation Trends" button appears next to the agent name for quick access to performance analytics.
</Tip>

### Status Filter

Filter by call status with visual indicators:

| Status         | Description                | Indicator    |
| -------------- | -------------------------- | ------------ |
| 🟢 Completed   | Call finished successfully | Green badge  |
| 🟡 In Progress | Call currently active      | Yellow badge |
| 🔴 Failed      | Call encountered an error  | Red badge    |
| ⚪ No Answer    | Recipient didn't answer    | White badge  |
| 🔵 Transferred | Call was transferred       | Blue badge   |

### Direction Filter

* **Inbound** - Calls received by your agents with 📞 icon
* **Outbound** - Calls initiated by your agents with 📲 icon
* **All** - Both directions

### Success Filter

Filter by call outcome with enhanced evaluation criteria:

* **Successful** - Calls marked as successful based on your evaluations
* **Unsuccessful** - Calls that didn't meet success criteria
* **All** - All calls regardless of outcome

### Advanced Call ID Search

<Warning>
  When using Call ID search, all other filters are temporarily disabled to ensure precise lookups.
</Warning>

Enhanced Call ID functionality with database search:

<Steps>
  <Step title="Enter Call ID">
    Type the specific call ID in the dedicated search field
  </Step>

  <Step title="Database Query">
    The system performs a direct database lookup for the exact call ID
  </Step>

  <Step title="Instant Results">
    The matching call is displayed immediately, bypassing all other filters
  </Step>

  <Step title="Clear Search">
    Remove the call ID to restore normal filtering functionality
  </Step>
</Steps>

### Dynamic Tags Filter

<Info>
  Filter calls by dynamic tags that are automatically generated based on call content, outcomes, and agent behaviors.
</Info>

The tags filter provides:

* **Dynamic Tag Generation** - Tags are automatically created based on call analysis
* **Multi-Select Capability** - Select multiple tags to find calls matching any or all criteria
* **Real-time Updates** - Tag list updates as new calls are processed
* **Custom Tag Support** - Manual tags can be added to calls for additional categorization

### Filter Presets

<Tip>
  Save your most-used filter combinations as presets for quick access to common search patterns.
</Tip>

Create and manage filter presets:

<Steps>
  <Step title="Configure Filters">
    Set up your desired combination of filters (date range, agents, status, etc.)
  </Step>

  <Step title="Save as Preset">
    Click "Save Preset" and give it a descriptive name
  </Step>

  <Step title="Quick Access">
    Access saved presets from the preset dropdown for instant filter application
  </Step>

  <Step title="Manage Presets">
    Edit or delete presets as your filtering needs evolve
  </Step>
</Steps>

## Enhanced Visual Indicators

### Filter Status Indicators

The interface now includes improved visual feedback:

| Indicator         | Meaning                                                   |
| ----------------- | --------------------------------------------------------- |
| 🟦 Blue Badge     | Active filter with values selected                        |
| 🔢 Count Badge    | Number of items selected in multi-select filters          |
| 🚫 Disabled State | Filter temporarily disabled (e.g., during Call ID search) |
| ✨ Preset Active   | A saved preset is currently applied                       |

### Selection Status

When calls are selected:

* **Selection Counter** - Shows "X selected" in an emerald-colored badge
* **Bulk Action Bar** - Appears with available actions for selected calls
* **Clear Selection** - One-click option to deselect all calls

## Call Table

The call table displays key information for each call with enhanced visual design:

| Column    | Description                                |
| --------- | ------------------------------------------ |
| Selection | Checkbox to select calls                   |
| Status    | Call status badge with color coding        |
| Success   | ✓ or ✗ indicator with evaluation context   |
| Agent     | Name of the agent that handled the call    |
| Direction | 📞 Inbound or 📲 Outbound with clear icons |
| From      | Caller phone number with formatting        |
| To        | Recipient phone number with formatting     |
| Duration  | Call length in minutes:seconds             |
| Date      | When the call occurred with relative time  |
| Tags      | Dynamic tags associated with the call      |

### Bulk Actions

<Tabs>
  <Tab title="Selection">
    When you select multiple calls:

    1. A selection indicator appears showing "X selected"
    2. Click **Clear Selection** to deselect all
    3. Bulk export options become available
    4. Additional bulk actions appear in the action bar
  </Tab>

  <Tab title="Export">
    Export filtered results:

    * CSV format for spreadsheet analysis
    * JSON format for technical analysis
    * PDF reports for presentations
    * Include/exclude specific columns
  </Tab>
</Tabs>

### Enhanced Sorting

Click column headers to sort with improved indicators:

* **Single Click** - Ascending order with ↑ arrow
* **Double Click** - Descending order with ↓ arrow
* **Sort Memory** - Last sort preference is remembered
* **Multi-Column Sort** - Hold Shift to sort by multiple columns

## Pagination

Enhanced pagination controls:

* **Smart Page Sizes** - 10, 25, 50, 100, 250 calls per page
* **Jump to Page** - Direct page number input
* **Results Counter** - "Showing X to Y of Z calls" with total count
* **Performance Optimization** - Efficient loading for large datasets

## Quick Actions

For each call row with improved accessibility:

| Action       | Description                 | Shortcut         |
| ------------ | --------------------------- | ---------------- |
| 👁️ View     | Open call details modal     | Click row        |
| 📋 Copy ID   | Copy call ID to clipboard   | Right-click menu |
| 🏷️ Add Tags | Add custom tags to the call | Tag icon         |
| 📊 Analytics | Quick performance insights  | Chart icon       |

## Evaluation Trends Analysis

<Info>
  Access comprehensive evaluation trends analysis directly from the call history interface to track agent performance patterns over time.
</Info>

### Accessing Evaluation Trends

From the agent dropdown in your call filters:

1. Select the agent you want to analyze
2. Look for the **"View Evaluation Trends"** button next to the agent name
3. Click to open the evaluation trends dashboard for that specific agent

### What You'll Find

The evaluation trends analysis provides:

* **Long-term Performance Tracking** - Monitor how your agent's success rates evolve over weeks and months
* **Success Rate Patterns** - Identify trends, improvements, or areas needing attention
* **Historical Context** - Compare current performance with past periods
* **Actionable Insights** - Understand which evaluations are performing well and which need optimization

## Performance and Optimization

### Smart Loading

The system includes several performance optimizations:

* **Lazy Loading** - Calls load as you scroll through the table
* **Filter Debouncing** - Prevents excessive API calls while typing
* **Caching** - Frequently accessed data is cached for faster loading
* **Background Refresh** - New calls appear automatically without manual refresh

### Search Optimization

<Tip>
  Use specific search criteria to improve performance when working with large datasets.
</Tip>

Best practices for efficient searching:

1. **Start with Date Range** - Narrow down the time period first
2. **Use Specific Agents** - Filter by particular agents when possible
3. **Combine Filters Strategically** - Use multiple filters to reduce result sets
4. **Save Common Searches** - Use presets for frequently used filter combinations

## Tips for Efficient Searching

<CardGroup cols={2}>
  <Card title="Use Filter Presets" icon="bookmark">
    Save your most common filter combinations as presets for instant access to frequently needed views.
  </Card>

  <Card title="Leverage Dynamic Tags" icon="tags">
    Use automatically generated tags to quickly find calls with specific characteristics or outcomes.
  </Card>

  <Card title="Combine Multiple Filters" icon="filter">
    Stack filters like "Failed + Outbound + Last 24h + Specific Agent" for precise targeting.
  </Card>

  <Card title="Use Call ID for Debugging" icon="hashtag">
    When investigating specific issues, use the exact call ID for instant lookup with database search.
  </Card>

  <Card title="Customize Filter Visibility" icon="eye">
    Hide filters you don't use regularly to streamline your interface and focus on relevant options.
  </Card>

  <Card title="Export Filtered Results" icon="download">
    Export your filtered results for offline analysis, reporting, or sharing with team members.
  </Card>
</CardGroup>

## Advanced Use Cases

### Quality Assurance Workflow

<Steps>
  <Step title="Create QA Preset">
    Save a filter preset for "Failed + Last 7 Days" to quickly review problematic calls.
  </Step>

  <Step title="Tag Review Calls">
    Use dynamic tags to identify calls that need quality review.
  </Step>

  <Step title="Bulk Analysis">
    Select multiple calls for bulk export and detailed analysis.
  </Step>

  <Step title="Track Improvements">
    Use evaluation trends to monitor quality improvements over time.
  </Step>
</Steps>

### Performance Monitoring

<Steps>
  <Step title="Agent Comparison">
    Use the agent filter to compare performance across different agents.
  </Step>

  <Step title="Success Tracking">
    Filter by success/failure to identify patterns in call outcomes.
  </Step>

  <Step title="Trend Analysis">
    Access evaluation trends directly from agent filters for deep performance insights.
  </Step>

  <Step title="Regular Reviews">
    Set up filter presets for weekly/monthly performance reviews.
  </Step>
</Steps>

## Next Steps

<CardGroup cols={2}>
  <Card title="Call Details" icon="info-circle" href="/calls/call-details">
    Learn about the detailed information available for each call including transcripts and analysis.
  </Card>

  <Card title="Evaluation Trends" icon="chart-line" href="/calls/evaluation-trends">
    Analyze agent performance patterns over time with comprehensive trend analysis.
  </Card>

  <Card title="Reporting" icon="chart-bar" href="/calls/reporting">
    Generate comprehensive reports from your call data with advanced analytics.
  </Card>

  <Card title="Filter Management" icon="settings" href="/calls/filter-management">
    Advanced filter configuration and preset management options.
  </Card>
</CardGroup>
