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

# List Transcripts For Customer Interaction

> Return the transcripts for the given customer interaction.

Transcripts are ordered chronologically. On a given transcript, each line is a speaker's utterance. You can split the transcript into segments by splitting on the line break: `\n`.



## OpenAPI

````yaml GET /customer-interactions/{CUSTOMER_INTERACTION_ID}/transcripts
openapi: 3.0.1
info:
  title: Alpharun API
  description: Alpharun REST API reference
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.alpharun.com/api/v1
security:
  - bearerAuth: []
paths:
  /customer-interactions/{CUSTOMER_INTERACTION_ID}/transcripts:
    get:
      description: >-
        Return the transcripts for the given customer interaction.


        Transcripts are ordered chronologically. On a given transcript, each
        line is a speaker's utterance. You can split the transcript into
        segments by splitting on the line break: `\n`.
      parameters:
        - name: CUSTOMER_INTERACTION_ID
          in: path
          description: ID of the customer interaction to fetch transcripts for
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Customer interaction transcripts
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      customer_interaction:
                        type: object
                        required:
                          - id
                          - transcripts
                        properties:
                          id:
                            type: string
                            description: ID of the customer interaction
                          transcripts:
                            type: array
                            description: >-
                              List of transcripts associated with the customer
                              interaction
                            items:
                              type: object
                              required:
                                - date
                                - duration
                                - transcript
                              properties:
                                date:
                                  type: string
                                  description: >-
                                    UTC date and time when the recording was
                                    made (ISO 8601 format)
                                duration:
                                  type: number
                                  description: Duration of the recording in seconds
                                transcript:
                                  type: string
                                  description: >-
                                    Full transcript of the recording with
                                    speaker names
              example:
                data:
                  customer_interaction:
                    id: 11111111-2222-3333-4444-555555555555
                    transcripts:
                      - date: '2024-04-01T12:40:16.029Z'
                        duration: 316
                        transcript: >-
                          John Doe (representative): Hello, this is John from
                          support. How can I help you today?

                          Jane Smith (customer): Hi, I'm having trouble with my
                          recent order.

                          John Doe (representative): I'd be happy to help you
                          with that. Can you provide me with your order number?
                      - date: 2025-05-24T14:32:05:23.574Z
                        duration: 53
                        transcript: >-
                          John Doe (representative): Hello, this is John from
                          support. How can I help you today?

                          Jane Smith (customer): Hi, I'm having trouble with my
                          recent order.

                          John Doe (representative): I'd be happy to help you
                          with that. Can you provide me with your order number?
                      - date: 2025-05-30T16:25:45:43.986Z
                        duration: 101
                        transcript: >-
                          John Doe (representative): Hello, this is John from
                          support. How can I help you today?

                          Jane Smith (customer): Hi, I'm having trouble with my
                          recent order.

                          John Doe (representative): I'd be happy to help you
                          with that. Can you provide me with your order number?
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Customer interaction not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````