> ## 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 Chat Logs

> Retrieve a paginated list of chatbot conversation logs with filtering options



## OpenAPI

````yaml GET /agent/chat-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/chat-logs/:
    get:
      summary: List Chat Logs
      description: >-
        Retrieve a paginated list of chatbot conversation 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 conversation 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: 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
      responses:
        '200':
          description: Chat logs retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatLogList'
        '401':
          description: Unauthorized - Invalid or missing API key
      security:
        - CompanyApiKey: []
components:
  schemas:
    ChatLogList:
      type: object
      properties:
        results:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              status:
                type: string
              agent_name:
                type: string
              agent_id:
                type: string
                nullable: true
                description: Null if agent is deleted
              user_name:
                type: string
              phone_number:
                type: string
              created_at:
                type: string
                description: 'Format: YYYY-MM-DD HH:MM:SS in user timezone'
              last_activity:
                type: string
                description: 'Format: YYYY-MM-DD HH:MM:SS in user timezone'
              cost:
                type: string
                description: 'Formatted: ''$X.XX'''
              platform:
                type: string
        total:
          type: integer
          description: Total count of chat logs
  securitySchemes:
    CompanyApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Company API Key

````