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

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

const response = await client.tasks.getOutputFile('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
  task_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});

console.log(response.id);
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "fileName": "<string>",
  "downloadUrl": "<string>"
}

Authorizations

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

Path Parameters

task_id
string<uuid>
required
file_id
string<uuid>
required

Response

200
application/json

Successful Response

Response model for output file requests

Attributes: id: Unique identifier for the output file file_name: Name of the output file download_url: URL to download the output file