Know which Recordings are still processing when using Python SDK

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

Any thoughts about this?

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