Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.uselumina.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Replay testing and comparison API.

Create Replay Set

POST /replay/capture
Body:
{
  "name": "Pre-prompt-change",
  "filters": {
    "service": "chat-api",
    "timeRange": "24h",
    "sampleSize": 100
  }
}

Execute Replay

POST /replay/run
Body:
{
  "replayId": "replay_001",
  "mode": "production"
}

Get Results

GET /replay/:id/diff
Response:
{
  "replayId": "replay_001",
  "totalTraces": 100,
  "comparisons": [{
    "traceId": "trace_001",
    "similarity": 0.95,
    "costDiff": 0.002
  }]
}