# Live proxy and collect

Source: https://redcrown.ai/docs/guides/live-proxy-and-collect/

Capture live traffic and shadow-replay it across candidate models.

## 1. Set up the proxy

Create a proxied endpoint. RedCrown forwards real traffic to your incumbent model and captures a sampled fraction for shadow replay.

**UI**

Open **Advanced** and navigate to **Live traffic** (`/advanced/live-traffic`). Click **New endpoint**, enter your upstream URL and candidate models, then click **Create**. RedCrown returns an endpoint key and a forward URL to point your application at.

**CLI**

Not available via the CLI. Use the app or MCP.

**MCP**

Call `setup_proxy` with your upstream URL and the candidate models to shadow:

```
{
  "name": "production-transcription",
  "upstream_url": "https://your-model-endpoint.example.com/v1/transcribe",
  "candidates": ["whisper-large-v3", "nova-2-medical"]
}
```

The response includes the **endpoint key** and the **forward URL**. Update your application to send traffic to the forward URL instead of the upstream directly.

## 2. List endpoints

Review all proxied endpoints in your workspace, including their capture counts and sampling rates.

**UI**

The **Live traffic** page (`/advanced/live-traffic`) lists all endpoints with their status, capture count, and daily budget remaining.

**CLI**

Not available via the CLI. Use the app or MCP.

**MCP**

Call `list_proxies` with no arguments to retrieve all endpoints in the current workspace:

```
{}
```

Each entry includes the endpoint ID, name, upstream URL, capture count, and sampling rate.

## 3. Replay captures

Fan captured traffic across every candidate model and store the scored outputs for comparison or reviewer sign-off.

**UI**

On the **Live traffic** page, click **Replay** on an endpoint. RedCrown fans the captured inputs across all candidate models and links the results to the endpoint.

**CLI**

Not available via the CLI. Use the app or MCP.

**MCP**

Call `replay_captures` with the endpoint ID:

```
{
  "endpoint_id": "<endpoint-id>"
}
```

RedCrown decrypts each stored capture, fans it across the non-incumbent candidates, scores relative to the incumbent, and persists one result row per capture per candidate.

Last verified 2026-07-02.
