Replays
Create replay
Run an existing conversation turn against the current agent configuration.
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.
Use List conversations or Get conversation to find the original conversation ID and the Fini response event ID.
This endpoint needs
write scope. It creates a replay record, but it does not change the original conversation or publish any configuration changes.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
400 Bad Request
400 Bad Request
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.403 Forbidden
403 Forbidden
The API key does not include the
write scope required for this route.404 Not Found
404 Not Found
The target event does not exist in the workspace, or the event does not belong to the supplied conversation.
500 Internal Server Error
500 Internal Server Error
The target event is not a Fini response, the response has no linked user event to replay, or the replay run failed.

