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

# Download Transcript

> Render every message on the transcript into a CSV (Timestamp, Role, Message), upload it to S3, and return the URL.



## OpenAPI

````yaml GET /agent/transcript/download/{transcript_id}/
openapi: 3.1.0
info:
  title: Aidan API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.callaidan.com
security: []
tags:
  - name: Webhooks
    description: >-
      **Inbound notifications.** After a voice call ends, Aidan POSTs JSON to
      the Webhook URL on your agent (Voice Agents settings or `webhook_url`).
      Your server receives these requests — they are not calls *to*
      `api.callaidan.com`. The documented path `/_reference/webhooks/...` exists
      only in this spec so the payload schema can appear in the API Reference;
      it is not callable on the production API.
paths:
  /agent/transcript/download/{transcript_id}/:
    get:
      tags:
        - agent
      summary: Download Transcript
      description: >-
        Render every message on the transcript into a CSV (Timestamp, Role,
        Message), upload it to S3, and return the URL.
      operationId: agent_transcript_download_retrieve
      parameters:
        - in: header
          name: X-User-Timezone
          schema:
            type: string
        - in: path
          name: transcript_id
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranscriptDownloadResponse'
          description: ''
        '404':
          description: Transcript not found.
      security:
        - jwtAuth: []
        - {}
components:
  schemas:
    TranscriptDownloadResponse:
      type: object
      properties:
        url:
          type: string
          format: uri
      required:
        - url
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````