Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/cli_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ switchyard-server --config <deployment.toml> [options]
| `--shutdown-timeout SHUTDOWN_TIMEOUT` | `30s` | Maximum time active requests may drain during shutdown. |
| `--dry-run` | Off | Validate the deployment without binding a socket. |
| `--routing-log-file PATH` | None | Append durable per-request routing records to this JSONL file. |
| `--pricing-file PATH` | None | Estimate unreported call costs from this JSON file of USD rates per million tokens; requires `--routing-log-file`. |
| `--pricing-file PATH` | None | Estimate unreported call costs from a TOML or JSON file of USD rates per million tokens; requires `--routing-log-file`. |
| `--tls-cert PATH` | None | PEM certificate path; requires `--tls-key`. |
| `--tls-key PATH` | None | PEM private-key path; requires `--tls-cert`. |
| `-h, --help` | — | Print command help. |
| `-V, --version` | — | Print the server version. |

Saved routing records use bundled model prices by default. `--pricing-file` replaces
the entire bundled table, so include every model you want to price.

Validate a deployment, then start the proxy:

```bash
Expand Down
Loading