A terminal trace carries test markers across its input.

Run a private self-check

Run a short suite on the relay already configured in your terminal. Synthetic tests use your relay quota. The self-check keeps the credential and report local by default.

Command line

Set ANTHROPIC_BASE_URL and your relay credential in the local environment, then run the command from the project package.

npm exec --package . -- relay-audit check --model sonnet

A separate authorized Anthropic key enables direct signature replay and token-count comparisons.

Claude Code

Register the local stdio server, then ask Claude Code to run relay_check.

claude mcp add relay-audit -- npm exec --package . -- relay-audit mcp

Share a measurement

The --upload option sends a reduced measurement through the configured report service. It excludes raw prompts, replies, credentials and exact request timestamps. Your relay provider may associate requests with its account records.