Skip to main content
PATCH
Update call log source data

Authorizations

Authorization
string
header
required

OAuth access token issued by Cekura for connected apps.

Path Parameters

id
integer
required

A unique integer value identifying this call log.

Body

call_id
string

Unique identifier for the call. Example:

  • "call_abc123xyz"
  • "stereo_audio_session_456"
Maximum string length: 100
transcript_type
enum<string>
write-only

Format of the transcript_json payload. Tells Cekura how to parse roles and timestamps.

  • vapi — Vapi webhook format: [{"role": "bot"|"user", "message": "...", "time": 0.0}]
  • retell — Retell webhook format
  • elevenlabs — ElevenLabs format
  • livekit — LiveKit format
  • pipecat — Pipecat format
  • deepgram — Deepgram format
  • cekura (default) — [{"role": "Testing Agent"|"Main Agent", "content": "...", "start_time": 0.0, "end_time": 2.5}]. Valid roles are "Testing Agent" and "Main Agent" only — using "agent" or "user" will return a validation error.

Omit this field to detect the supported format automatically.

  • cekura - cekura
  • vocera - vocera
  • vapi - vapi
  • retell - retell
  • deepgram - deepgram
  • pipecat - pipecat
  • livekit - livekit
  • elevenlabs - elevenlabs
Available options:
cekura,
vocera,
vapi,
retell,
deepgram,
pipecat,
livekit,
elevenlabs
transcript_json
any

Call transcript in supported format (Vapi, Retell, Deepgram, ElevenLabs, Cekura)

Check the Transcript Format documentation for more details.

Cekura Transcript Format Example:

timestamp
string<date-time>

When the call occurred. Example: 2024-03-15T10:15:45Z

duration
number<double>

Call duration in minutes as a non-negative number. For example, use 1.5 for one minute and 30 seconds.

Required range: x >= 0
call_ended_reason
string

Reason why the call ended Example:

  • "customer-ended-call"
  • "agent-ended-call"
Maximum string length: 100
customer_number
string

Customer's phone number or identifier Example:

  • "+1234567890"
  • "customer_abc123"
Maximum string length: 100
metadata
object

Additional call metadata. Supplied top-level keys are merged with existing metadata; supplied keys overwrite matching keys and omitted keys are preserved. Example:

dynamic_variables
object

Dynamic variables used to replace {{variables}} in agent description. Supplied top-level keys are merged with existing variables; supplied keys overwrite matching keys and omitted keys are preserved. Example:

Response

call_id
string
required

Unique identifier for the call. Example:

  • "call_abc123xyz"
  • "stereo_audio_session_456"
Maximum string length: 100
id
integer
read-only
duration
string
read-only

Call duration in minutes in MM:SS format. Example: 01:10

voice_recording_url
string
read-only

URL to access the voice recording. Example: "https://storage.example.com/recordings/call_123_20240315.mp3"

critical_categories
object[]
read-only

Critical categories from call evaluation

transcript_object
object[]
read-only

Structured transcript data with timestamps. Example:

status
enum<string>
  • success - Success
  • failure - Failure
  • reviewed_success - Reviewed Success
  • reviewed_failure - Reviewed Failure
Available options:
success,
failure,
reviewed_success,
reviewed_failure
agent_id
string

Agent ID. Example: 2142

agent_name
string
read-only

Agent name

evaluation
object

Evaluation results for the call. Example:

metadata
object
read-only

Additional call metadata. Example:

dynamic_variables
object
read-only

Dynamic Variables used in the call. Example:

testing_channel_index
integer | null
read-only

The channel index of the testing agent in the audio recording

timestamp
string<date-time>

When the call occurred. Example: 2024-03-15T10:15:45Z

success
boolean | null

Whether the call was successful. Example: true or false

is_reviewed
boolean

Whether the call has been reviewed. Example: true or false

feedback
string

Feedback about the call. Example: "Great Call"

rubric
any | null

Detailed rubric evaluation data Example:

transcript
string

Full text transcript of the call. Example:

call_ended_reason
string

Reason why the call ended. Example:

  • "customer-ended-call"
  • "agent-ended-call"
Maximum string length: 100
dropoff_point
string

Point in conversation where user disengaged. Example: "end of conversation as no queries remaining"

Maximum string length: 1000
topic
string

Topic of the call. Example:

  • "product_inquiry"
  • "technical_support"
Maximum string length: 1000
customer_number
string

Customer's phone number or identifier. Example:

  • "+1234567890"
  • "customer_abc123"
Maximum string length: 100
user_generated_transcript
any | null

Manually created or corrected transcript data. Example:

error_message
string | null
created_at
string<date-time>
read-only

When this record was created. Example: 2024-03-15T10:30:45Z

updated_at
string<date-time>
read-only

When this record was last updated. Example: 2024-03-15T10:35:11Z

trace_id
string

OpenTelemetry trace ID (32-char hex). Set when OTel tracing is enabled.

Maximum string length: 32
agent
integer | null

Agent ID

project
integer | null

Project ID (denormalized from agent for query performance)