Skip to content

Download files from remote URLs and track their progress. These endpoints let you initiate downloads, monitor active transfers, and review past download history.

Initiates a download from a remote URL to the specified directory on the server. The download runs asynchronously and returns a download_id you can use to track progress via the active downloads endpoint.

NameInTypeRequiredDescription
directorypathstringYesDestination directory
downloadquerystringYesURL to download from
filenamequerystringNoCustom filename for downloaded file
timeoutqueryintegerNoDownload timeout in seconds (default: 300)
Terminal window
curl -X GET "https://api.example.com/Downloads?download=https%3A%2F%2Ffiles.example.com%2Fdata.csv" \
-H "Authorization: Bearer <token>"

Returns progress information for downloads currently running in the specified directory.

NameInTypeRequiredDescription
directorypathstringYesDirectory to check for active downloads
downloadsquerystringYesPass an empty string to list active downloads
Terminal window
curl -X GET "https://api.example.com/Downloads?downloads=" \
-H "Authorization: Bearer <token>"

Returns progress information for all downloads currently running on the server, across every directory.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://api.example.com/api/v1/downloads" \
-H "Authorization: Bearer <token>"

Returns a history of past downloads, including both completed and failed transfers.

NameInTypeRequiredDescription
download_historyquerystringYesPass an empty string to retrieve download history
Terminal window
curl -X GET "https://api.example.com/?download_history=" \
-H "Authorization: Bearer <token>"