Python
import os
from dataframer import Dataframer
client = Dataframer(
api_key=os.environ.get("DATAFRAMER_API_KEY"), # This is the default and can be omitted
)
response = client.dataframer.anonymization_runs.files.download_all(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(response.download_url)curl https://df-api.dataframer.ai/api/dataframer/anonymization-runs/$RUN_ID/download/ \
-H "Authorization: Bearer $DATAFRAMER_API_KEY"{
"download_url": "https://s3.amazonaws.com/bucket/path/to/file.zip?signature=...",
"status": "ready"
}{
"download_url": null,
"status": "generating"
}Anonymization
Download All Anonymized Files
Get a presigned URL to download all anonymized files as a ZIP archive
GET
/
api
/
dataframer
/
anonymization-runs
/
{run_id}
/
download
/
Python
import os
from dataframer import Dataframer
client = Dataframer(
api_key=os.environ.get("DATAFRAMER_API_KEY"), # This is the default and can be omitted
)
response = client.dataframer.anonymization_runs.files.download_all(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)
print(response.download_url)curl https://df-api.dataframer.ai/api/dataframer/anonymization-runs/$RUN_ID/download/ \
-H "Authorization: Bearer $DATAFRAMER_API_KEY"{
"download_url": "https://s3.amazonaws.com/bucket/path/to/file.zip?signature=...",
"status": "ready"
}{
"download_url": null,
"status": "generating"
}Async operation: First call triggers ZIP generation with code
202. Poll this same endpoint until you receive 200 with a download_url.Authorizations
API Key authentication. Format: "Bearer YOUR_API_KEY"
Path Parameters
UUID of the completed anonymization run.
Response
ZIP is ready for download
Presigned S3 URL to download the ZIP archive. Expires after 1 hour. null when the ZIP is still being generated (status generating).
ready when the ZIP is available and download_url is set. generating when ZIP creation is in progress — poll again until ready.
Available options:
ready, generating 
