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

# Get Call Transcript

> Returns the turn-by-turn transcript of a call. Returns an empty array if no transcript was captured (e.g. the call was never answered).



## OpenAPI

````yaml GET /v1/call/{id}/transcript
openapi: 3.1.0
info:
  title: OSVI AI API
  description: REST API for the OSVI AI voice and chat platform
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.osvi.ai
security:
  - ApiToken: []
paths:
  /v1/call/{id}/transcript:
    get:
      summary: Get a call transcript
      description: >-
        Returns the turn-by-turn transcript of a call. Returns an empty array if
        no transcript was captured (e.g. the call was never answered).
      parameters:
        - name: id
          in: path
          required: true
          description: The call's `call_id` (UUID).
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The transcript turns.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      call_id:
                        type: string
                        format: uuid
                      transcript:
                        type: array
                        items:
                          $ref: '#/components/schemas/V1TranscriptTurn'
        '401':
          description: Invalid or missing API token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorUnauthorized'
        '404':
          description: No call with that id exists on your account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorNotFound'
              example:
                success: false
                error: call_not_found
                details: null
components:
  schemas:
    V1TranscriptTurn:
      type: object
      description: >-
        One turn of the conversation. Shape reflects what was stored at call
        time.
      properties:
        role:
          type: string
          enum:
            - assistant
            - user
          example: assistant
        content:
          type: string
          example: Hello, am I speaking with Ravi?
        timestamp:
          type: string
          format: date-time
          example: '2026-06-12T09:30:05+05:30'
    ErrorUnauthorized:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: Invalid API token
    ErrorNotFound:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          example: agent_not_found
        details:
          type: object
          nullable: true
          example: null
  securitySchemes:
    ApiToken:
      type: apiKey
      in: header
      name: API-Token
      description: >-
        16-character API token associated with your OSVI account. Find it in
        your dashboard under Settings → API.

````