curl --request GET \
--url https://api.anchorbrowser.io/v1/sessions/{session_id}/downloads \
--header 'anchor-api-key: <api-key>'{
"data": {
"count": 123,
"items": [
{
"id": "<string>",
"file_link": "<string>",
"original_download_url": "<string>",
"origin_url": "<string>",
"suggested_file_name": "<string>",
"original_file_name": "<string>",
"duration": 123,
"size": 123,
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}Retrieves metadata of files downloaded during a browser session. Requires a valid API key for authentication.
curl --request GET \
--url https://api.anchorbrowser.io/v1/sessions/{session_id}/downloads \
--header 'anchor-api-key: <api-key>'{
"data": {
"count": 123,
"items": [
{
"id": "<string>",
"file_link": "<string>",
"original_download_url": "<string>",
"origin_url": "<string>",
"suggested_file_name": "<string>",
"original_file_name": "<string>",
"duration": 123,
"size": 123,
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}API key passed in the header
The unique identifier of the browser session to retrieve downloads for.
A list of download metadata associated with the browser session.
Show child attributes
Total number of downloads
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.
Was this page helpful?