# record.stop

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

> Stops recording, and gives the file's path.

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

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `active` | `boolean` | no | false. |
| `path` | `string | null` | no | The recording's file. |

## Errors

A state error (-32005) when not recording.

## Events

- `record.state`
- `output.changed`

## From an AI agent

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

## Example

```json
{ "jsonrpc": "2.0", "id": 1, "method": "record.stop", "params": {} }
```

Result:

```json
{ "active": false, "path": "/Users/sam/Movies/Lightair/2026-12-04 20-15-02.mp4" }
```

## Related

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