Skip to main content
POST
Run velma-2 batch analysis on an uploaded audio file.

Authorizations

X-API-Key
string
header
required

API key used for authentication and usage tracking.

Body

multipart/form-data
upload_file
file
required

Audio file. Max 100 MB. Supported extensions: aac, aiff, flac, mp3, mp4, mov, ogg, opus, wav, webm.

config
string
default:default

Either the literal string default (which loads a built-in default configuration) or a JSON-encoded BatchConfig object (whose structure is given by contentSchema). When omitted, the default configuration is used. To set STT options such as custom_terms, include an stt key in the JSON-encoded BatchConfig.

Response

Batch processing completed.

duration_ms
integer
required
Required range: x >= 0
clips
object[]
required
model_version
string
required

Identifier for the model version that produced this response.

behaviors
object[]
required
conversation_type_pick
object | null
participant_role_picks
object[]
topics
string[]
topic_sentiments
object[]
summary
string | null
speakers
object[]

Present only when conversation_dynamics was requested. One entry per diarized speaker, most speech first.

conversation_dynamics
object

Present only when conversation_dynamics was requested.

assessments
object

Present only when at least one assessment was requested. An assessment is null when its flag was off or when the responding or requesting speaker could not be identified.

deepfake_summary
object

Present only when produce_deepfake_summary was requested.