Skip to main content
PUT
cURL

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Path Parameters

id
integer
required

A unique integer value identifying this scenario.

audio_id
string
required

Body

multipart/form-data
file
file
required
name
string

Response

Read serializer for one Scenario.condition_audio entry (a plain dict).

The caller passes each entry dict with audio_id injected; fields are tolerant of missing keys. words is intentionally not exposed (runtime-only playback timing data), and neither is previous_action (internal undo state for a clip that replaced a whole action).

audio_id
string | null
action
string | null
condition_id
string
read-only

First condition referencing this clip, or null when no action references it. Kept for compatibility - prefer condition_ids.

condition_ids
integer[]

Every condition referencing this clip, in authored order. Empty when the clip is uploaded but not referenced by any action yet.

steps
string
read-only

Every step referencing this clip, as paths into the conditional actions (e.g. first_message, conditions[1].then[0]).

tag
string
read-only

The reference to paste into an action, e.g.

status
string | null
transcript
string | null
duration
number<double> | null
filename
string | null
timing_source
string | null
error
string | null
updated_at
string | null
playback_url
string
read-only

S3 URL of the recorded audio clip