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

# List Call Logs

> Retrieve a paginated list of voicebot call logs with filtering options



## OpenAPI

````yaml GET /agent/call-logs/
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /agent/call-logs/:
    get:
      summary: List Call Logs
      description: Retrieve a paginated list of voicebot call logs with filtering options
      parameters:
        - name: X-User-Timezone
          in: header
          description: User's timezone for timestamp formatting
          required: true
          schema:
            type: string
        - name: page
          in: query
          description: Page number for pagination. Page size is 10 items.
          required: false
          schema:
            type: integer
            default: 1
        - name: search
          in: query
          description: Search term to filter by contact name, phone number, or thread ID
          required: false
          schema:
            type: string
        - name: status
          in: query
          description: Filter by call status
          required: false
          schema:
            type: string
            default: all
        - name: agent
          in: query
          description: Filter by agent ID
          required: false
          schema:
            type: string
            default: all
        - name: direction
          in: query
          description: Filter by call direction
          required: false
          schema:
            type: string
            enum:
              - inbound
              - outbound
              - all
            default: all
        - name: start_date
          in: query
          description: ISO-8601 datetime string for date range start
          required: false
          schema:
            type: string
            format: date-time
        - name: end_date
          in: query
          description: ISO-8601 datetime string for date range end
          required: false
          schema:
            type: string
            format: date-time
        - name: min_score
          in: query
          description: Minimum score filter (0-100)
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 0
        - name: max_score
          in: query
          description: Maximum score filter (0-100)
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 0
      responses:
        '200':
          description: Call logs retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallLogList'
        '401':
          description: Unauthorized - Invalid or missing API key
      security:
        - CompanyApiKey: []
components:
  schemas:
    CallLogList:
      type: object
      properties:
        results:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              agent_name:
                type: string
              agent_id:
                type: string
                nullable: true
                description: Null if agent is deleted
              user_name:
                type: string
              timestamp:
                type: string
                description: 'Format: YYYY-MM-DD HH:MM:SS in user timezone'
              status:
                type: string
              error_message:
                type: string
                description: Only present if status is 'error'
              call_length:
                type: string
                description: 'Format: ''2m 45s'' or ''30s'''
              direction:
                type: string
                enum:
                  - inbound
                  - outbound
              phone_number:
                type: string
              agent_number:
                type: string
              cost:
                type: string
                description: 'Formatted: ''$X.XX'''
              score:
                type: number
        total:
          type: integer
          description: Total count of call logs
        queue_count:
          type: integer
          description: Number of calls in queue
  securitySchemes:
    CompanyApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Company API Key

````