> ## 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.

# Get Transcript

> Retrieve detailed transcript information including messages, tool calls, and cost breakdown



## OpenAPI

````yaml GET /agent/transcript/{transcript_id}
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/transcript/{transcript_id}:
    get:
      summary: Get Transcript
      description: >-
        Retrieve detailed transcript information including messages, tool calls,
        and cost breakdown
      parameters:
        - name: transcript_id
          in: path
          description: The ID of the thread/transcript
          required: true
          schema:
            type: string
        - name: X-User-Timezone
          in: header
          description: User's timezone for timestamp formatting
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Transcript details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranscriptDetail'
        '401':
          description: Unauthorized - Invalid or missing API key
        '404':
          description: Transcript not found
      security:
        - CompanyApiKey: []
components:
  schemas:
    TranscriptDetail:
      type: object
      properties:
        agent_id:
          type: string
        agent_name:
          type: string
        agent_number:
          type: string
        status:
          type: string
        error_message:
          type: string
          description: Only present if status is 'error'
        type:
          type: string
          enum:
            - chatbot
            - voicebot
        is_deleted:
          type: boolean
        user_name:
          type: string
        cost:
          type: string
          description: 'Formatted: ''$X.XX'''
        score:
          type: number
        cost_breakdown:
          type: object
          additionalProperties:
            type: string
            description: 'Formatted: ''$X.XXXX'''
        summary:
          type: string
        recording_url:
          type: string
        created_at:
          type: string
          description: 'Format: DD/MM/YYYY • HH:MMam/pm in user timezone'
        timestamp:
          type: string
          description: 'Format: DD/MM/YYYY • HH:MMam/pm in user timezone'
        call_length:
          type: string
          description: 'Format: MM:SS (voicebot only)'
        direction:
          type: string
          enum:
            - inbound
            - outbound
          description: Voicebot only
        phone_number:
          type: string
          description: Voicebot only
        message_count:
          type: integer
          description: Chatbot only
        contact_id:
          type: string
          description: Chatbot only
        messages:
          type: array
          description: Unified messages from thread messages, tool calls, and interrupts
          items:
            oneOf:
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - message
                  timestamp:
                    type: string
                    description: 'Format: DD/MM/YYYY • HH:MMam/pm in user timezone'
                  role:
                    type: string
                    enum:
                      - user
                      - assistant
                  message:
                    type: string
                  platform:
                    type: string
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - tool_call
                  timestamp:
                    type: string
                    description: 'Format: DD/MM/YYYY • HH:MMam/pm in user timezone'
                  name:
                    type: string
                  id:
                    type: string
                  status:
                    type: string
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - interrupt
                  timestamp:
                    type: string
                    description: 'Format: DD/MM/YYYY • HH:MMam/pm in user timezone'
                  message:
                    type: string
                  platform:
                    type: string
  securitySchemes:
    CompanyApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Company API Key

````