Skip to main content
GET
/
api
/
dataframer
/
runs
/
{run_id}
/
files
/
{file_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.runs.generated_files.download(
    file_id="file_id",
    run_id="run_id",
)
print(response.content_type)
{
  "download_url": "<string>",
  "filename": "<string>",
  "content_type": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Path Parameters

run_id
string
required
file_id
string
required

Response

Presigned URL ready

download_url
string

Presigned URL to download the file (valid for 1 hour)

filename
string
content_type
string

MIME type of the file