Skip to content
Last updated

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. The redacted_audio_url and expires_at fields 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 with privacy_settings.pii_redaction_enabled: true to enable it.

Path Parameters

transcription_id string required

The transcription ID with trans_ prefix.


Returns

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 is available). The URL expires at the time indicated by expires_at.
  • data.expires_at -- ISO 8601 timestamp when the signed URL expires (only present when status is available).
  • metadata -- Request metadata: request_id, timestamp, processing_time_ms.
cURL
curl -s -X GET https://api.aitronos.com/v1/audio/transcribe/trans_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6/redacted-audio \
  -H "Authorization: Bearer $ACCESS_TOKEN" | python3 -m json.tool