# 查询直播状态

查询云手机是否正在直播，以及可用时的当前文件 ID 或文件路径。关机状态下仍可调用，以确认直播已经停止。业务错误包括 `33300`、`33401` 和 `99002`。

Endpoint: POST /api/cloudphone/live/status
Version: 1.0.0

## Request fields (application/json):

  - `phoneId` (integer, required)
    Cloud phone ID
    Example: 190000000000000000

## Response 200 fields (application/json):

  - `code` (integer, required)
    Business result code; `0` indicates success
    Example: 0

  - `msg` (string | null, required)
    Error message; null when successful
    Example: null

  - `requestId` (string, required)
    Request ID for troubleshooting
    Example: 1d4f3ea968664593860b94b35d4ebf5e

  - `data` (object, required)

  - `data.liveStatus` (integer)
    Live status (`0` = stopped, `1` = running)
    Enum: 0, 1

  - `data.writeFileId` (string | null)
    Current file ID when supplied by the cloud phone provider

  - `data.liveFilePath` (string | null)
    Current file path or URL when supplied by the cloud phone provider

