# record.status

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

> Gives whether Lightair is recording, for how long, to which file and folder.

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

`state` is `idle`, `starting`, `active`, `reconnecting`, `stopping` or `failed`.

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `active` | `boolean` | no | Whether it's recording. |
| `state` | `string` | no | Its state. |
| `seconds` | `number` | no | Time recorded. |
| `error` | `string` | no | Why it failed, when it did. |
| `paused` | `boolean` | no | Whether it's paused. |
| `path` | `string | null` | no | The file being written. |
| `bytes` | `number` | no | Bytes written. |
| `folder` | `string` | no | Where recordings are saved. |

## From an AI agent

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

## Related

- [record.start](https://docs.lightair.app/developers/remote-api/record.start.md)
- [output.list](https://docs.lightair.app/developers/remote-api/output.list.md)
