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

# Manage RTStream Transcription

> Start or stop transcription on a real-time stream

Start or stop the transcription service on a real-time stream.

<Note>
  * `action` must be `start` or `stop`
  * Use `engine` to select the transcription engine (default: `default`)
  * Use `ws_connection_id` to receive real-time transcription updates via WebSocket
</Note>

<CardGroup cols={2}>
  <Card title="Get Transcription" icon="file-text" href="/api-reference/rtstream/transcription/get_rtstream_transcription">
    Retrieve transcription data
  </Card>

  <Card title="Transcription Status" icon="check" href="/api-reference/rtstream/transcription/get_rtstream_transcription_status">
    Check transcription status
  </Card>
</CardGroup>


## OpenAPI

````yaml POST /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/:
    post:
      tags:
        - RTStream
      summary: Start or stop RTStream transcription
      parameters:
        - name: stream_id
          in: path
          required: true
          schema:
            type: string
            example: rts-12345
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - action
              properties:
                action:
                  type: string
                  enum:
                    - start
                    - stop
                  example: start
                engine:
                  type: string
                  default: default
                  example: default
                ws_connection_id:
                  type: string
                  example: conn-123
      responses:
        '200':
          description: Transcription status updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - running
                          - stopped
                        example: running
                      engine:
                        type: string
                        example: default
                      updated_at:
                        type: string
                        format: date-time
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: API key for authentication (sk-xxx format)

````