# deck.get

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

> Gives the pages of the Stream Deck that Lightair Live shows, with their version.

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

The deck is kept on the desktop, so every phone shows the same keys. Pass its `version` to [deck.set](/developers/remote-api/deck.set) when you change it.

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `pages` | `object[]` | no | The deck's pages. |
| `version` | `number` | no | Its version; 0 before it was first saved. |

## From an AI agent

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

## Related

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