Skip to main content
POST
Creates a replay conversation from an existing conversation and target Fini response event. The replay runs immediately, stores its result as a separate conversation, and returns the replay conversation.
This endpoint needs write scope. It creates a replay record, but it does not change the original conversation or publish any configuration changes.
Use List conversations or Get conversation to find the original conversation ID and the Fini response event ID.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
Send application/json.

Body parameters

string
required
ID of the original conversation to replay.
string
required
ID of the Fini response event to replay. The response must have a linked user event in the same conversation.
enum
Replay mode. Use until to replay up to the selected response, or single to replay only that response. Defaults to until.
object
Optional model overrides for this replay run. Supported keys are performPlanning, searchKnowledge, generateAnswer, and tagSelection; each value must be a non-empty model name.
object
Optional answer-generation artifacts to inject into the replay. Use this only when you have validated artifact data from Fini’s conversation tooling.

Response

Returns the replay conversation record.
string
Replay conversation ID.
string
Original conversation ID this replay was created from.
object
Replay metadata, including target_event_id, status, and optional ml_models.

Errors

The body failed validation. interactionId and eventId must be UUIDs, mode must be until or single, and mlModels can only include supported operation keys with non-empty string values.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope required for this route.
The target event does not exist in the workspace, or the event does not belong to the supplied conversation.
The target event is not a Fini response, the response has no linked user event to replay, or the replay run failed.