GET
/
tasks
/
{task_id}
/
logs
JavaScript
import BrowserUse from 'browser-use-sdk';

const client = new BrowserUse({
  apiKey: 'My API Key',
});

const response = await client.tasks.getLogs('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(response.downloadUrl);
{
  "downloadUrl": "<string>"
}

Authorizations

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

Path Parameters

task_id
string<uuid>
required

Response

200
application/json

Successful Response

Response model for log file requests

Attributes: download_url: URL to download the log file