Response 201
What’s next
The request responds immediately, and AiGenda downloads the file after the response. Until the file is downloaded, the recording is hidden: it is not in the recording list and hasis_active: false.
- Take
audio_idfrom the response. - Poll
info/for thataudio_idevery 3–5 seconds until you getis_uploaded: true. - Start processing.
403 or 404), AiGenda saves that page as the file: is_uploaded becomes true and duration is 0. Before calling classify, check that duration is greater than zero. If the link doesn’t open at all, the recording stays at is_uploaded: false with no separate error. Set a wait timeout based on file size, for example 10 minutes for a file up to 1 GB, and treat the upload as failed after it.
Link longer than 255 characters
Response 400