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

# Get File Transcript Segments



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/file/{file_id}/transcript
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/file/{file_id}/transcript:
    get:
      tags:
        - media-public
      summary: Get File Transcript Segments
      operationId: media_public.get_media_public_get_file_by_file_id_transcript
      parameters:
        - in: path
          name: file_id
          required: true
          schema:
            title: File Id
            type: string
        - description: Hub the file is published into (required)
          in: query
          name: hub_id
          required: true
          schema:
            description: Hub the file is published into (required)
            title: Hub Id
            type: string
        - description: 1-based page; fixed page size of 25
          in: query
          name: page
          required: false
          schema:
            default: 1
            description: 1-based page; fixed page size of 25
            minimum: 1
            title: Page
            type: integer
        - description: Search term; missing/blank/'*' = browse
          in: query
          name: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Search term; missing/blank/'*' = browse
            title: Query
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/TranscriptSegmentsPayload'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    TranscriptSegmentsPayload:
      properties:
        data:
          items:
            $ref: '#/components/schemas/TranscriptSegmentRow'
          title: Data
          type: array
        meta:
          $ref: '#/components/schemas/TranscriptSegmentsMeta'
      required:
        - data
        - meta
      title: TranscriptSegmentsPayload
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    TranscriptSegmentRow:
      properties:
        end_time:
          title: End Time
          type: number
        highlight:
          anyOf:
            - type: string
            - type: 'null'
          title: Highlight
        id:
          title: Id
          type: string
        score:
          anyOf:
            - type: number
            - type: 'null'
          title: Score
        speaker_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Speaker Label
        start_time:
          title: Start Time
          type: number
        transcription:
          title: Transcription
          type: string
      required:
        - id
        - transcription
        - start_time
        - end_time
      title: TranscriptSegmentRow
      type: object
    TranscriptSegmentsMeta:
      properties:
        current_page:
          title: Current Page
          type: integer
        last_page:
          title: Last Page
          type: integer
        total:
          title: Total
          type: integer
      required:
        - current_page
        - last_page
        - total
      title: TranscriptSegmentsMeta
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````