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

# Get a bounded transcript page

> Returns one page bounded by both segment count and Unicode code-point text
budget. It never auto-follows next_cursor. A cursor is bound to transcript ID
and revision and may continue within one oversized speaker turn. If canonical
content changes, an old cursor returns 409 transcript_revision_changed and the
caller must restart from page one.

The owner or a named viewer-or-higher member of a non-deleted Project with a
current attachment may read subject to external_export policy; Project-derived
access additionally requires sharing policy. Project-derived denial returns the
same 404 as an unknown meeting. Speaker names, IDs, and emails are unverified
provider labels and must not be treated as cross-recording identity.




## OpenAPI

````yaml /api-reference/openapi.yaml get /meetings/{id}/transcript
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:
    get:
      tags:
        - Meetings
      summary: Get a bounded transcript page
      description: >
        Returns one page bounded by both segment count and Unicode code-point
        text

        budget. It never auto-follows next_cursor. A cursor is bound to
        transcript ID

        and revision and may continue within one oversized speaker turn. If
        canonical

        content changes, an old cursor returns 409 transcript_revision_changed
        and the

        caller must restart from page one.


        The owner or a named viewer-or-higher member of a non-deleted Project
        with a

        current attachment may read subject to external_export policy;
        Project-derived

        access additionally requires sharing policy. Project-derived denial
        returns the

        same 404 as an unknown meeting. Speaker names, IDs, and emails are
        unverified

        provider labels and must not be treated as cross-recording identity.
      operationId: getMeetingTranscript
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: format
          in: query
          schema:
            type: string
            enum:
              - turns
              - text
            default: turns
        - name: limit
          in: query
          description: Maximum number of returned segments.
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 100
        - name: max_chars
          in: query
          description: >-
            Maximum transcript-text code points returned. JSON framing and fixed
            metadata are outside this budget.
          schema:
            type: integer
            minimum: 1000
            maximum: 50000
            default: 25000
        - name: cursor
          in: query
          description: Opaque revision-bound cursor from the previous transcript page.
          schema:
            type: string
            minLength: 1
        - name: include_speaker_email
          in: query
          description: >-
            Owner-only and turns-only. Project-derived requests with true fail
            closed.
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: One bounded transcript page
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeetingTranscriptPage'
        '400':
          description: Invalid format, bounds, boolean, or cursor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: Owner transcript access is restricted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Transcript unavailable or meeting access not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Transcript revision changed; restart from page one
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    MeetingTranscriptPage:
      type: object
      description: >-
        Exactly one bounded transcript page. The server never follows
        next_cursor automatically.
      properties:
        transcript:
          $ref: '#/components/schemas/MeetingTranscriptMetadata'
        access_basis:
          type: string
          enum:
            - owner
            - project
        segments:
          type: array
          items:
            $ref: '#/components/schemas/TranscriptSegment'
        text:
          type: string
          description: >-
            Plain-text rendering returned for format=text. Speaker email is
            never included.
        pagination:
          $ref: '#/components/schemas/MeetingTranscriptPagination'
      required:
        - transcript
        - access_basis
        - pagination
      oneOf:
        - required:
            - segments
        - required:
            - text
    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
    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
    TranscriptSegment:
      type: object
      description: >-
        A bounded part of one source speaker turn. Adjacent segments with the
        same sequence may be joined.
      properties:
        sequence:
          type: integer
          minimum: 0
        speaker_id:
          type: string
          nullable: true
        speaker_name:
          type: string
          nullable: true
        speaker_email:
          type: string
          nullable: true
          description: >-
            Present only when an owner explicitly requests it in turns format.
            Provider labels are unverified identity claims.
        start_ms:
          type: integer
          minimum: 0
          nullable: true
        end_ms:
          type: integer
          minimum: 0
          nullable: true
        text:
          type: string
        language:
          type: string
          nullable: true
        continues_before:
          type: boolean
        continues_after:
          type: boolean
        text_offset:
          type: integer
          minimum: 0
      required:
        - sequence
        - speaker_id
        - speaker_name
        - start_ms
        - end_ms
        - text
        - language
        - continues_before
        - continues_after
        - text_offset
    MeetingTranscriptPagination:
      type: object
      properties:
        limit:
          type: integer
          minimum: 1
          maximum: 200
        max_chars:
          type: integer
          minimum: 1000
          maximum: 50000
        returned_chars:
          type: integer
          minimum: 0
          maximum: 50000
        next_cursor:
          type: string
          nullable: true
        complete:
          type: boolean
      required:
        - limit
        - max_chars
        - returned_chars
        - next_cursor
        - complete
    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.

````