# piair.status

Source: https://docs.lightair.app/developers/remote-api/piair.status

> Gives PiAir's state, its AI streamer mode and its last five logged actions.

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

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `running` | `boolean` | no | Whether it's running. |
| `status` | `string` | no | Its status. |
| `mode` | `string` | no | The AI streamer mode; `off` when none. |
| `ai_drives` | `boolean` | no | Whether the AI is driving the show. |
| `last_actions` | `object[]` | no | Its last five logged actions. |

## From an AI agent

The MCP server's `piair (action: status)` reaches this method.

## Related

- [piair.stop](https://docs.lightair.app/developers/remote-api/piair.stop.md)
- [cohost.status](https://docs.lightair.app/developers/remote-api/cohost.status.md)
