# stream.info.get

Source: https://docs.lightair.app/developers/remote-api/stream.info.get

> Gives each connected channel's title, category and viewers, from the platforms.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Outputs. Script plugins need the `project.read` permission.

The answer is a list, one item per connected channel. A channel the platform didn't answer for has `error` instead.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `platform` | `string` | no | Only this platform's channels. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `(list)` | `{ platform: string, channel: string, live: boolean, title: string, category: { name: string }, tags: string[], viewers: number, started_ms: number, editable: boolean, error?: string }[]` | no | Each channel. |

## From an AI agent

The MCP server's `stream_info (action: get)` reaches this method.

## Related

- [stream.info.set](https://docs.lightair.app/developers/remote-api/stream.info.set.md)
- [stream.categories](https://docs.lightair.app/developers/remote-api/stream.categories.md)
