Skip to main content
GET
/
tasks
/
{task_id}
/
logs
Get Task Logs
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>"
}

Authorizations

X-Browser-Use-API-Key
string
header
required

Path Parameters

task_id
string<uuid>
required

Response

Successful Response

Response model for log file requests

downloadUrl
string
required

URL to download the log file