Get Duration
Returns the audio duration in seconds for a provided URL or base64-encoded file.
Provide either audio_url or audio_file (base64). If both are provided, the request is invalid.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
audio_url
Direct URL to a downloadable audio file.
audio_file
Base64-encoded audio file content. Do not include a data URI prefix.
Response
This endpoint returns an object.
duration_seconds
Duration of the audio in seconds. Returns 0 if the duration cannot be determined.
