Skip to main content
POST
Create Replay Run

Authorizations

Authorization
string
header
required

Use Tuner API key (tr_api_...) or user session token. Find your API key in Workspace Settings > API Keys.

Path Parameters

agent_id
integer
required

Tuner's internal numeric ID for the agent.

workspace_id
integer
required

Workspace ID. Find this in Workspace > General Settings.

Body

application/json

Request to launch a deterministic replay run against one or more voice clip sets.

voice_clip_set_ids
integer[]
required
Required array length: 1 - 10 elements
repeat_count
integer
default:1
Required range: 1 <= x <= 20
max_call_duration_minutes
integer
default:3
Required range: 1 <= x <= 12
selected_eval_ids
integer[] | null
selected_intent_ids
integer[] | null
replay_settings
ReplaySettingsInput · object | null

User-supplied overrides for a replay's timing policy.

Every field is optional; an unset field falls back to the corresponding default on app.services.simulation_clip_replay.ReplaySettings -- the single source of truth for these defaults, deliberately not duplicated here.

Response

Successful Response

simulation_run_id
integer
required
generated_count
integer
required
success
boolean
required
caller_persona_id
integer | null
caller_persona
CallerPersonaResponse · object | null
simulation_profile_id
integer | null
simulation_profile_name
string | null
simulation_profile_snapshot
Simulation Profile Snapshot · object | null
noise_environment_id
integer | null
noise_intensity
number | null
noise_environment
NoiseEnvironmentResponse · object | null

One selectable background environment.