Skip to main content
GET
/
storage
/
{session_id}
/
downloads
/
{filename}
python
from notte_sdk import NotteClient

client = NotteClient()
storage = client.FileStorage()

# Assuming you have a session with storage that has completed
with client.Session(storage=storage) as session:
    # ... agent execution happens here ...
    pass

# After agent execution, download created files
downloaded_files = storage.list_downloaded_files()
print(
    f"Files downloaded by agent: {downloaded_files}"
)

# Download files to a directory on your computer
download_dir = "./downloads"  # This creates a "downloads" folder in your current directory
for file_name in downloaded_files:
    _ = storage.download(
        file_name=file_name,
        local_dir=download_dir,
        force=False,  # Don't overwrite existing files
    )
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Path Parameters

session_id
string
required
filename
string
required

Response

Successful Response

  • FileLinkResponse
  • ExecutionResponse
url
string
required

URL to download file from