Retrieves metadata of files downloaded during a session. Requires a valid API key for authentication.
curl --request GET \ --url https://api.anchorbrowser.io/api/sessions/{session_id}/downloads \ --header 'anchor-api-key: <api-key>'
{ "data": [ { "id": "014101cd-263a-47a2-bb73-9768089da639", "file_link": "https://api.anchorbrowser.io/api/sessions/42b60264-c48a-4ded-aa54-e4a83a710ee5/downloads/6daab24f-0853-44e6-abb0-618565a7244a/fetch", "original_download_url": "https://example.com/files/document.doc", "origin_url": "https://example.com/files/", "suggested_file_name": "document (2).doc", "original_file_name": "document.doc", "duration": 2025, "size": 177152, "created_at": "2025-01-18T03:34:56.043Z" } ] }
API key passed in the header
The unique identifier of the session to retrieve downloads for.
Show child attributes
The unique ID of the download record.
The URL to download the file from anchorbrowser servers. Requires api key authentication.
The URL used to download the file.
The original URL where the file was found.
The suggested file name for saving the file.
The original file name before any modification.
The time it took to process or download the file, in milliseconds.
The size of the file in bytes.
The timestamp when the file record was created.