Skip to content

PlayableAudio

HTTP API schema

← HTTP API reference

An audio object to play on an endpoint with audio output.

PlayableAudio fields

datastringRequired

Base64 encoded audio, at most 10 MiB decoded.

format: "byte"

minLength: 4

maxLength: 13981016

pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"

mimeTypestringRequired

The audio MIME type, such as audio/wav or audio/mpeg.

pattern: "^audio/[a-zA-Z0-9.+-]+$"

View source specification ↗