Legacy Dev Forum Posts

 View Only

Sign Up

Know which Recordings are still processing when using Python SDK

  • 1.  Know which Recordings are still processing when using Python SDK

    Posted 06-05-2025 18:08

    Adrian_Santamaria | 2021-07-07 13:12:28 UTC | #1

    Hello

    The endpoint GET /api/v2/conversations/{conversationId}/recordings returns a 202 status code when it is processing the audio, so it's easy to know when a retry is needed.

    However, when using the Python SDK, the method only returns a list[Recording], so the only way to know if it is still processing is when it returns an empty array but without raising an Exception. This does not look very intuitive... Also, if the method is called with a callback function (i.e. asynchronously), then that callback function does not know what conversation the empty list is referring to (it only gets [] as input parameter), so it's impossible to set that request to be tried again after a while.

    Could you take a look at this, please?

    Thank you


    Adrian_Santamaria | 2021-07-09 09:51:11 UTC | #2

    Any thoughts about this?


    system | 2021-08-09 09:51:12 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 11408