Skip to main content
POST
Detect audio events in an 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 to analyze. Must be non-empty and of a supported format. Supported formats: AAC, AIFF, FLAC, MP3, MP4, MOV, OGG, Opus, WAV, WebM. Maximum file size: 100 MB.

Response

Event detection completed successfully.

probs
object
required

Per-event probabilities, each between 0 and 1. Only events confidently detected in the audio are included - an omitted event was not detected with sufficient confidence, which does not necessarily mean it is absent from the audio. Included events are not mutually exclusive, and the set of included probabilities is not expected to sum to 1. probs is an empty object when no event was confidently detected.

duration_ms
integer
required

The total duration of the processed audio in milliseconds.

Required range: x >= 0
Example:

14253