# `once runtime rpc`

Serve the local runtime JSON-RPC endpoint for a session directory.

## Synopsis

```text
once runtime rpc [OPTIONS] <SESSION_DIR>
```

## Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `<SESSION_DIR>` | yes | Runtime session directory containing session.json and logs. |

## Options

| Flag | Value | Default | Description |
| --- | --- | --- | --- |
| `--socket` | `<SOCKET>` |  | Socket path. Defaults to `<session-dir>/control.sock`. |
