Skip to main content
Audio Event Detection identifies non-speech sounds in a recording: instruments, human vocalizations such as laughter and coughing, and environmental noises such as a knock or a gunshot. The response lists the events it confidently detected, so its shape follows the contents of the audio. The endpoint produces no transcript, diarization, or PII/PHI tagging.

Audio Event Detection (batch)

Returns application/json. probs carries only the events the model confidently detected, so it is not a fixed set of keys and is frequently short. When nothing clears the threshold it is {}. Both fields are always present on a 200. Entries are independent: each is that event’s own probability, they are not mutually exclusive, and they are not expected to sum to 1. Threshold each event you care about on its own.
Worth knowing: an omitted event was not detected with sufficient confidence. That is not the same as the event being absent from the audio, so a missing key is not evidence that the sound did not occur.
Because entries are independent, overlapping sounds each score on their own merits. A clip with applause over laughter returns both near 1, rather than splitting one budget between them. Key names are case-sensitive, capitalized, and underscore-separated throughout.

Try it

Output
Applause and laughter both score near 1 on the same clip. Entries are independent, so overlapping sounds do not divide a single budget between them.
When no event clears the confidence threshold, probs is empty:

What you can configure

There are no other parameters. The model scores a fixed vocabulary of 42 events, but the response carries only those it detected.

Audio formats

Accepted extensions: .aac, .aiff, .flac, .mov, .mp3, .mp4, .ogg, .opus, .wav, .webm. Maximum file size is 100 MB. Empty files are rejected with 400, as are files whose audio cannot be decoded.

Supported events

Any of these 42 can appear in probs: Acoustic_guitar, Applause, Bark, Bass_drum, Burping_or_eructation, Bus, Cello, Chime, Clarinet, Computer_keyboard, Cough, Cowbell, Crying, Double_bass, Drawer_open_or_close, Electric_piano, Fart, Finger_snapping, Fireworks, Flute, Glockenspiel, Gong, Gunshot_or_gunfire, Harmonica, Hi_hat, Keys_jangling, Knock, Laughter, Meow, Microwave_oven, Oboe, Saxophone, Scissors, Shatter, Snare_drum, Squeak, Tambourine, Tearing, Telephone, Trumpet, Violin_or_fiddle, Writing.

API reference