Retrieve a signed URL for the PII-redacted version of the audio file. Only available when PII redaction was enabled during transcription creation.
GEThttps://api.aitronos.com/v1/audio/transcribe/{transcription_id}/redacted-audio
Returns a time-limited signed URL to download the audio file with all detected PII (personally identifiable information) redacted. PII segments in the audio are replaced with silence or a tone.
The response status field indicates the availability of the redacted audio:
available-- The redacted audio is ready. Theredacted_audio_urlandexpires_atfields are populated.pending-- The redacted audio is still being generated. Retry after a short delay.not_enabled-- PII redaction was not enabled for this transcription. Re-create the transcription withprivacy_settings.pii_redaction_enabled: trueto enable it.
transcription_id string required
The transcription ID with trans_ prefix.
Returns a success envelope with:
data.transcription_id-- The transcription ID.data.status-- One of:available,pending,not_enabled.data.redacted_audio_url-- Signed URL to the redacted audio file (only present when status isavailable). The URL expires at the time indicated byexpires_at.data.expires_at-- ISO 8601 timestamp when the signed URL expires (only present when status isavailable).metadata-- Request metadata:request_id,timestamp,processing_time_ms.
cURL
- Bash
- Python
- Python
- JavaScript
curl -s -X GET https://api.aitronos.com/v1/audio/transcribe/trans_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6/redacted-audio \
-H "Authorization: Bearer $ACCESS_TOKEN" | python3 -m json.tool