list

abstract suspend fun list(request: ListVoicesRequest = ListVoicesRequest()): VoicePage(source)

Returns one page of voices matching request.

Pass VoicePage.nextPageToken into a subsequent request to continue pagination.

Throws

when ElevenLabs returns a non-successful HTTP response.

when no HTTP response can be obtained.

when the request exceeds a transport timeout.

when the response does not match the documented schema.