JavaScript
const options = {method: 'GET', headers: {'X-Browser-Use-API-Key': '<api-key>'}}; fetch('https://api.browser-use.com/api/v2/tasks/{task_id}/logs', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "downloadUrl": "<string>" }
Get secure download URL for task execution logs with step-by-step details.
Successful Response
Response model for log file requests
URL to download the log file