Read one caller-turn audio clip
calls:download-recordingAuthenticationReads a short-lived WAV clip for one archived caller turn. The server resolves the stored object key; client input is never used to construct a storage path. Access is audited and supports one byte range. For repeated warm consultations, select the segment_index returned in user_turn_audio; turn_index is local to each segment. Omitting segment_index selects zero.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringuuidturn_index*integer0 <= value <= 2147483647leg?string"caller""caller""brief"segment_index?integerZero-based consultation segment. For brief recordings this is the transfer attempt minus one. Legacy clips use zero.
0 <= value <= 21474836470download?booleanUse attachment rather than inline Content-Disposition.
falsereason?stringHuman audit justification, recorded on the access audit row whenever it is sent. Whether it is required depends on the workspace's sensitive-data access mode. In reason mode it is required (at least 8 characters) on the transcript, recording and tool-I/O reads, and omitting it returns 400. In approval mode a user reads under an approved access request instead (the approved request's reason is recorded), while an API key keeps the reason rule. In open mode it is optional. Per-turn audio never requires it in any mode. Control characters are rejected.
1 <= length <= 500Range?stringOne RFC 9110 byte interval. Multiple ranges are rejected with 416 and a JSON error envelope.
^bytes=(?:[0-9]+-[0-9]*|-[0-9]+)$Complete WAV clip.
response?fileaudio/wavbinarycurl -X GET 'https://api.kejue.co/v1/calls/497f6eca-6276-4993-bfeb-53cbbbba6f08/turn-audio?turn_index=0'"string"