Skip to main content
Replays run an existing conversation through a selected agent configuration so you can compare a previous answer with what Fini would do now. Use them after a prompt, knowledge, Rulebook, or model change to verify a known conversation before you roll the change into broader testing.
Replay runs create separate replay conversations. They do not overwrite the original conversation, publish a fix, or apply prompt, knowledge, or rule changes by themselves.

Endpoints

Replay modes

string
Replays the conversation up to the user event linked to the target response. This is the default mode when mode is omitted.
string
Replays only the selected response turn.

Agent Runner

Create replay also accepts orchestrationMode: "AGENT_RUNNER" for agents with that capability enabled. It supports only single mode and reuse rule execution, with no artifact, model, or pipeline overrides. The default execution path remains FINI_ZERO when orchestration selection is omitted. Agent Runner regenerates one text response from stored history. It reuses matching recorded lookups, falls back to live lookups when needed, and mocks actions. It is not an offline replay. It does not send the generated answer to the customer or modify the original conversation.

Agent Runner results

Replay conversation records expose orchestrationMode. For Agent Runner, replay.agentic contains executionMode, incomplete, and a trace array. The execution mode is recorded_lookups_live_fallback_mock_actions. Tool-result trace entries distinguish recorded, live_lookup, and simulated_action sources. Standard replay metadata such as rule_execution_mode is not guaranteed on this path.

Model overrides

The following model and Rulebook controls apply to the default FINI_ZERO path. mlModels lets you override model selection for one replay run without changing the agent’s saved configuration.
string
Model name used for the planning step.
string
Model name used for knowledge search.
string
Model name used for answer generation.
string
Model name used for tag selection.
The API accepts only these four operation keys. If mlModels is present, it must contain at least one supported operation and every value must be a non-empty string.

Rule execution modes

ruleExecutionMode controls how Rulebook logic behaves during the replay. When omitted, Fini uses simulate.
string
Reuses the rule choice and rule result payloads from the original answer. Use this when you want to regenerate answer text without retesting Rulebook selection.
string
Re-evaluates the latest rules and uses saved historical results for matching external actions. This is the default and avoids performing live external action calls.
string
Re-evaluates the latest rules and runs live external actions. Use this only when those side effects are acceptable for the replay.
If you provide rule-version artifacts, use simulate or execute. reuse cannot be combined with rule-version overrides.

Create replay

Start a replay for a known Fini response event.

List replays

See every replay created from one original conversation.

Get replay

Fetch the replay conversation record.

Get replay events

Fetch the message events created during the replay.