AppsSecurePass

API, bulk and voice agents · Autessa SecurePass

Python, TypeScript and Java

SecurePass has libraries for Python, TypeScript and Java: autessa-redact, @autessa/redact and com.autessa:autessa-redact. Each one redacts a file, runs batch jobs, does chunked uploads and works the review queue. The HTTP API works from any other language.

curl -X POST https://api.autessa.com/clients/call-redaction/redact \
  -H "Authorization: $AUTESSA_API_KEY" \
  -F "file=@call.wav"
{
  "status": "COMPLETED",
  "durationSeconds": 184.2,
  "redactedAudioUrl": "https://…",
  "transcriptUrl": "https://…",
  "redactions": [
    { "type": "CARD_NUMBER", "startMs": 61240, "endMs": 68910 },
    { "type": "CARD_CVV", "startMs": 73020, "endMs": 74400 }
  ]
}

The problem

Redaction should fit into the code you already have

Call recordings flow through many systems: a Python data pipeline, a TypeScript webhook handler, a Java service in the contact center stack. Each one should be able to send a recording for redaction in a line or two, without hand-building multipart requests and polling loops.

curl -X POST https://api.autessa.com/clients/call-redaction/redact \
  -H "Authorization: $AUTESSA_API_KEY" \
  -F "file=@call.wav"
{
  "status": "COMPLETED",
  "durationSeconds": 184.2,
  "redactedAudioUrl": "https://…",
  "transcriptUrl": "https://…",
  "redactions": [
    { "type": "CARD_NUMBER", "startMs": 61240, "endMs": 68910 },
    { "type": "CARD_CVV", "startMs": 73020, "endMs": 74400 }
  ]
}

What you get

Python, TypeScript and Java in SecurePass

  • Python: Redact().redact_file(path, types=[...]).
  • TypeScript: new Redact().redactFile(path, { redact: [...] }).
  • Java: Redact.fromEnv().redactFile(path, options).
  • Chunked upload helpers in each: chunked(...), createUploader(...) and startChunkedUpload(...).
  • Batch jobs, review and item lookup calls in every library.
  • Each reads AUTESSA_API_KEY from the environment.
  • In private preview: install from GitHub until the packages are on PyPI, npm and Maven Central.

How to use it

Step by step

  1. Install the library

    During the preview, install from GitHub as each library’s README describes.

  2. Set your key

    export AUTESSA_API_KEY="<keyId>:<secret>".

  3. Redact a file

    One call returns the item with its status, redacted audio link and redactions.

Python

from autessa.redact import Redact

item = Redact().redact_file("call.wav", types=["CARD_NUMBER", "CARD_CVV"])
print(item.status, item.redacted_audio_url)

Packages

OptionWhat it does
Pythonautessa-redact: redact_file, chunked, create_item, append_chunk, finalize.
TypeScript@autessa/redact: redactFile, createUploader, createItem, appendChunk, finalize.
Javacom.autessa:autessa-redact: redactFile, startChunkedUpload, createItem, appendChunk, finalize.
Typestypes= in Python, redact in TypeScript and Java, the same as the API’s redact field.

Why it is better

How SecurePass compares on python, typescript and java

Three languages, one API

Every library calls the same HTTP API, with the same types and options, so results match whichever language you use.

Chunked upload built in

Each library includes chunked upload for voice agents, not only file uploads.

Show the benchmark results
securepass-bench results: share of sensitive values protected
SecurePassDeepgramAssemblyAIAWS Transcribe
Sensitive values protected97.2%91.6%88.8%71.9%
English calls97.8%88.8%89.6%73.9%
Spanish calls96.6%94.2%88.1%70.2%
Payment data (cards, bank, PIN)100.0%88.8%83.3%90.5%
Personal IDs (SSN, DOB, address…)96.6%94.7%94.9%83.5%
Health IDs (PHI)97.2%94.4%91.4%27.4%
Typical calls97.5%93.4%92.2%71.4%
Hard calls96.8%88.7%83.4%72.8%
Two-channel calls97.0%91.3%89.6%71.2%
Single-channel calls98.3%93.7%83.6%77.0%
Payment values recoverable (of 1,077)0121180102
F1, protection and tightness (fast mode)83.559.460.174.1

Works with

Related capabilities

FAQ

Questions about python, typescript and java

How do I redact a call recording in Python?

Install the SecurePass Python library, autessa-redact, and call Redact().redact_file("call.wav", types=["CARD_NUMBER", "CARD_CVV"]). It returns the item with its status, redacted audio link and redactions.

Is there a Python library for SecurePass?

Yes, SecurePass’s Python library is autessa-redact, with Redact().redact_file(path, types=[...]), and it is in private preview and installs from GitHub.

Is there a TypeScript or Node library for SecurePass?

Yes, SecurePass’s TypeScript library is @autessa/redact, with new Redact().redactFile(path, { redact: [...] }).

Is there a Java library for SecurePass?

Yes, SecurePass’s Java library is com.autessa:autessa-redact, with Redact.fromEnv().redactFile(path, options).

Are the SecurePass libraries on PyPI, npm and Maven Central?

Not yet: the SecurePass libraries are in private preview and install from GitHub until the packages are published to PyPI, npm and Maven Central.

Do the SecurePass libraries support chunked upload for voice agents?

Yes, each SecurePass library includes chunked upload helpers: chunked in Python, createUploader in TypeScript and startChunkedUpload in Java.

How do the SecurePass libraries find my API key?

Each SecurePass library reads AUTESSA_API_KEY from the environment.

Do the SecurePass libraries give the same results as the HTTP API?

Yes, every SecurePass library calls the same HTTP API with the same types and options, so results match whichever language you use.

Can I use SecurePass from another language?

Yes, the SecurePass HTTP API works from any language that can send an HTTPS request.

● Get started today

Redact your first call today.

SecurePass has libraries for Python, TypeScript and Java, and the HTTP API works from anything else. Get a free API key and try it on one of your own recordings.

Free first month · no card needed · any Autessa API key works

SOC 2 Type IIPCI DSSHIPAAISO 27001ISO 42001trust.autessa.com ↗