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

# Export the complete current transcript

> Owner-only complete JSON export. The export is intentionally unavailable as
an MCP tool, requires a ready canonical transcript, and checks external_export
policy immediately before one revision-consistent read. It excludes restriction
rationale/history and raw provider artifact identifiers.




## OpenAPI

````yaml /api-reference/openapi.yaml get /meetings/{id}/transcript/export
openapi: 3.1.0
info:
  title: Harmonica API
  version: 1.0.0
  description: >
    REST API for the Harmonica structured deliberation platform.

    Provides access to sessions and their data, including creating, updating,
    and querying sessions, plus response submission for active sessions.
  contact:
    name: Harmonica
    url: https://harmonica.chat
servers:
  - url: https://app.harmonica.chat/api/v1
    description: Production
  - url: http://localhost:3000/api/v1
    description: Local development
security:
  - apiKey: []
paths:
  /meetings/{id}/transcript/export:
    get:
      tags:
        - Meetings
      summary: Export the complete current transcript
      description: >
        Owner-only complete JSON export. The export is intentionally unavailable
        as

        an MCP tool, requires a ready canonical transcript, and checks
        external_export

        policy immediately before one revision-consistent read. It excludes
        restriction

        rationale/history and raw provider artifact identifiers.
      operationId: exportMeetingTranscript
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Complete revision-consistent transcript download
          headers:
            Content-Disposition:
              schema:
                type: string
              description: Server-sanitized, bounded attachment filename.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeetingTranscriptExport'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: Transcript export is restricted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            Meeting or ready transcript not found, including all non-owner
            access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    MeetingTranscriptExport:
      type: object
      properties:
        exported_at:
          type: string
          format: date-time
        meeting:
          $ref: '#/components/schemas/Meeting'
        transcript:
          allOf:
            - $ref: '#/components/schemas/MeetingTranscriptMetadata'
            - type: object
              properties:
                utterances:
                  type: array
                  items:
                    $ref: '#/components/schemas/CompleteTranscriptTurn'
              required:
                - utterances
      required:
        - exported_at
        - meeting
        - transcript
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - unauthorized
                - forbidden
                - not_found
                - validation_error
                - rate_limited
                - payment_required
                - transcript_revision_changed
                - internal_error
                - unprocessable
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
    Meeting:
      type: object
      description: >-
        Calendar meeting metadata. Direct Project-derived reads redact
        meeting_url and raw error_message to null.
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
        meeting_url:
          type: string
          format: uri
          nullable: true
        meeting_provider:
          type: string
          enum:
            - google_meet
            - zoom
            - microsoft_teams
        starts_at:
          type: string
          format: date-time
        ends_at:
          type: string
          format: date-time
          nullable: true
        timezone:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - scheduled
            - joining
            - in_call
            - recording
            - transcribing
            - ready
            - failed
            - cancelled
        error_code:
          type: string
          nullable: true
        error_message:
          type: string
          nullable: true
          description: >-
            Raw meeting failure detail for the owner; null for Project-derived
            readers.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - title
        - meeting_url
        - meeting_provider
        - starts_at
        - ends_at
        - timezone
        - status
        - error_code
        - error_message
        - created_at
        - updated_at
    MeetingTranscriptMetadata:
      type: object
      properties:
        id:
          type: string
          format: uuid
        meeting_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - processing
            - ready
            - failed
        availability:
          type: string
          enum:
            - pending
            - ready
            - retryable_failure
            - terminal_failure
            - restricted
        language:
          type: string
          nullable: true
        revision:
          type: integer
          minimum: 1
          nullable: true
          description: Advances only when canonical transcript content changes.
        content_hash:
          type: string
          pattern: ^sha256:[0-9a-f]{64}$
          nullable: true
        restriction_revision:
          type: string
          pattern: ^\d+$
          description: >-
            Latest restriction event sequence, or "0". Cache checks compare this
            with content_hash.
        completed_at:
          type: string
          format: date-time
          nullable: true
        source:
          $ref: '#/components/schemas/TranscriptSourceProvenance'
        processing:
          $ref: '#/components/schemas/TranscriptProcessingProvenance'
      required:
        - id
        - meeting_id
        - status
        - availability
        - language
        - revision
        - content_hash
        - restriction_revision
        - completed_at
        - source
        - processing
    CompleteTranscriptTurn:
      type: object
      properties:
        sequence:
          type: integer
          minimum: 0
        speaker_id:
          type: string
          nullable: true
        speaker_name:
          type: string
          nullable: true
        speaker_email:
          type: string
          nullable: true
        start_ms:
          type: integer
          minimum: 0
          nullable: true
        end_ms:
          type: integer
          minimum: 0
          nullable: true
        text:
          type: string
        language:
          type: string
          nullable: true
      required:
        - sequence
        - speaker_id
        - speaker_name
        - speaker_email
        - start_ms
        - end_ms
        - text
        - language
    TranscriptSourceProvenance:
      type: object
      properties:
        kind:
          type: string
          enum:
            - harmonica_capture
            - provider_import
            - manual_import
        provider:
          type: string
          description: >-
            Source provider name. Provider names are extensible rather than a
            closed enum.
      required:
        - kind
        - provider
    TranscriptProcessingProvenance:
      type: object
      properties:
        provider:
          type: string
        model:
          type: string
        normalization_version:
          type: string
        attempt_status:
          type: string
          enum:
            - pending
            - processing
            - succeeded
            - failed
        failure_stage:
          type: string
          enum:
            - capture
            - transcription
            - normalization
            - persistence
            - unknown
          nullable: true
        failure_disposition:
          type: string
          enum:
            - retryable
            - terminal
          nullable: true
        error_code:
          type: string
          nullable: true
        error_message:
          type: string
          nullable: true
          description: >-
            Raw detail for the owner; Project-derived readers receive only a
            safe generic message.
        started_at:
          type: string
          format: date-time
          nullable: true
        completed_at:
          type: string
          format: date-time
          nullable: true
      required:
        - provider
        - model
        - normalization_version
        - attempt_status
        - failure_stage
        - failure_disposition
        - error_code
        - error_message
        - started_at
        - completed_at
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthorized
              message: Invalid or missing API key
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: |
        API key authentication. Pass your key as a Bearer token.
        Keys use the format `hm_live_<32 hex chars>`.
        Generate keys from your Harmonica dashboard settings.

````