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

# 1 while the camera's input is on program, 0 when not, empty when unknown

> 1 while the camera's input is on program, 0 when not, empty when unknown.



## OpenAPI

````yaml /api-reference/core-api/openapi.json get /api/v2/cameras/{id}/on-air
openapi: 3.1.0
info:
  title: VRA Core API
  version: 9.9.9-test
  description: >-
    Local device-control API of the VRA Core. Every action is a plain GET;
    `/plain/...` twins answer one text value (`OK` / `ERR <code>` for actions).
servers:
  - url: http://{core_host}:{core_port}
    variables:
      core_host:
        default: 192.168.1.50
        description: LAN address of the Core
      core_port:
        default: '3002'
        description: Local API port (Core Settings → Local API)
security:
  - deviceToken: []
  - queryToken: []
  - legacyBasic: []
tags:
  - name: system
  - name: core
  - name: studio
  - name: station
  - name: signals
  - name: macros
  - name: automations
  - name: cameras
  - name: variables
  - name: outputs
  - name: legacy
paths:
  /api/v2/cameras/{id}/on-air:
    get:
      tags:
        - cameras
      summary: 1 while the camera's input is on program, 0 when not, empty when unknown
      description: >-
        1 while the camera's input is on program, 0 when not, empty when
        unknown.
      operationId: cameras_on_air
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            Camera id, name (case-insensitive) or number (1-based position in
            the list).
          schema:
            type: string
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                type: object
        4XX:
          description: error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        ok:
          type: boolean
          const: false
        error:
          type: string
        message:
          type: string
  securitySchemes:
    deviceToken:
      type: http
      scheme: bearer
      description: >-
        Device token `vra_…` (also accepted as `?token=` or as a Basic
        password).
    queryToken:
      type: apiKey
      in: query
      name: token
    legacyBasic:
      type: http
      scheme: basic
      description: >-
        Electron Core authorization (`EXTERNAL_APP` / base64 server id), when
        `legacy_auth` is on.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.