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

# List RTStreams

> List all RTStreams with filtering and pagination

List all real-time streams with optional filtering by status, name, and sorting.

<Note>
  * Filter by `status`: `connected` or `stopped`
  * Filter by `name` (substring match)
  * Use `ordering` for sorting (prefix with `-` for descending, e.g., `-created_at`)
  * Results are paginated with `limit` and `offset`
</Note>


## OpenAPI

````yaml GET /rtstream/
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/:
    get:
      tags:
        - RTStream
      summary: List RTStreams
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            default: 10
            example: 10
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
            example: 0
        - name: status
          in: query
          schema:
            type: string
            enum:
              - connected
              - stopped
            example: connected
        - name: name
          in: query
          description: Filter by name substring
          schema:
            type: string
            example: my stream
        - name: ordering
          in: query
          description: Sort field (prefix with - for descending)
          schema:
            type: string
            example: '-created_at'
      responses:
        '200':
          description: List of RTStreams
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      results:
                        type: array
                        items:
                          $ref: '#/components/schemas/RTStream'
                      count:
                        type: integer
                        example: 25
                      next:
                        type: string
                        nullable: true
                        example: /rtstream/?limit=10&offset=10
                      previous:
                        type: string
                        nullable: true
                        example: null
      security:
        - ApiKeyAuth: []
components:
  schemas:
    RTStream:
      type: object
      properties:
        id:
          type: string
          example: rts-12345
        name:
          type: string
          example: My Stream
        status:
          type: string
          enum:
            - connected
            - stopped
          example: connected
        sample_rate:
          type: integer
          example: 30
        media_types:
          type: array
          items:
            type: string
            enum:
              - video
              - audio
          example:
            - video
            - audio
        collection_id:
          type: string
          example: default
        store:
          type: boolean
          example: false
        created_at:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: API key for authentication (sk-xxx format)

````