/history endpoint returns a list of completed and removed downloads from the download history.
Endpoint
Authentication
Requires Bearer token authentication.Parameters
No parameters required.Response
Returns an array of historical download records.Unique identifier for the download
Original download URL
Name of the downloaded file
Full path where the file was saved
Total file size in bytes
Final status - typically
"complete" or "removed"ISO 8601 timestamp when the download completed
Example Request
Example Response
Status Codes
| Code | Description |
|---|---|
| 200 | History retrieved successfully |
| 401 | Invalid or missing authentication token |
| 500 | Server error retrieving history |
Use Cases
- Audit Trail: Review what files have been downloaded
- Statistics: Calculate total downloaded bytes or download counts
- Reporting: Generate download activity reports
- Cleanup Verification: Confirm removed downloads are no longer active
Notes
- History persists across server restarts (stored in SQLite database)
- Completed downloads remain in history indefinitely
- Removed downloads appear in history with status
"removed" - Use List to see active/paused/queued downloads instead