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

# Get RTStream Transcription

> Retrieve transcription data from a real-time stream

Retrieve transcription records from a real-time stream, including word-level timestamps and pagination support.

<Note>
  * Use `start` and `end` (Unix timestamps) to filter by time range
  * Use `since` for polling - returns only entries newer than the given timestamp
  * Paginated with `page` and `page_size` (max 1000)
  * Includes word-level timestamps for each transcription record
</Note>


## OpenAPI

````yaml GET /rtstream/{stream_id}/transcription/
openapi: 3.0.3
info:
  title: VideoDB Server API
  description: >
    VideoDB Server API for video, audio, and image processing with AI
    capabilities.

    This API provides comprehensive video management, search, indexing, and
    AI-powered features.
  version: 1.0.0
  contact:
    name: VideoDB Support
    url: https://videodb.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.videodb.io
    description: Production server
  - url: https://staging-api.videodb.io
    description: Staging server
security:
  - ApiKeyAuth: []
tags:
  - name: Authentication
    description: User authentication and API key management
  - name: Collections
    description: Collection management operations
  - name: Videos
    description: Video upload, processing, and management
  - name: Audio
    description: Audio management operations
  - name: Images
    description: Image management operations
  - name: Search
    description: Content search and indexing
  - name: AI Generation
    description: AI-powered content generation
  - name: Billing
    description: Billing and usage management
  - name: RTStream
    description: Real-time streaming operations
  - name: Utilities
    description: Utility endpoints
  - name: Meeting
    description: Meeting recording and management
  - name: Capture
    description: Capture session management for recording streams
  - name: Editor
    description: Timeline editor operations
  - name: Transcode
    description: Media transcoding operations
  - name: Assets
    description: Cross-collection asset listing
paths:
  /rtstream/{stream_id}/transcription/:
    get:
      tags:
        - RTStream
      summary: Get RTStream transcription data
      parameters:
        - name: stream_id
          in: path
          required: true
          schema:
            type: string
            example: rts-12345
        - name: engine
          in: query
          schema:
            type: string
            default: default
            example: default
        - name: page
          in: query
          schema:
            type: integer
            default: 1
            example: 1
        - name: page_size
          in: query
          schema:
            type: integer
            default: 100
            maximum: 1000
            example: 100
        - name: start
          in: query
          description: Filter by start timestamp
          schema:
            type: number
            example: 1700000000
        - name: end
          in: query
          description: Filter by end timestamp
          schema:
            type: number
            example: 1700003600
        - name: since
          in: query
          description: Get only entries newer than this timestamp (for polling)
          schema:
            type: number
            example: 1700000000
      responses:
        '200':
          description: Transcription data
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      transcription_records:
                        type: array
                        items:
                          type: object
                          properties:
                            start:
                              type: number
                              example: 1700000000
                            end:
                              type: number
                              example: 1700000005
                            text:
                              type: string
                              example: transcribed text
                            word_timestamps:
                              type: array
                              items:
                                type: object
                      next_page:
                        type: boolean
                        example: false
                      total_count:
                        type: integer
                        example: 50
                      page:
                        type: integer
                        example: 1
                      page_size:
                        type: integer
                        example: 100
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: API key for authentication (sk-xxx format)

````