Generated by API Evangelist
Written by API Evangelist tooling for Browser Use's API. It is a proposal applied on top of the contract, not a document Browser Use publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Browser Use Public API v2 Files API
version: 1.0.0
extends: openapi/browser-use-files-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-09-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/files/sessions/{session_id}/presigned-url'].post
update:
x-apievangelist-phrasing:
intent: Get an upload URL for a file in an agent session
effect: write
questions:
- How do I give the AI agent a file to work with during its session?
- Do I need to tell the API the file's size and content type before uploading it to an agent session?
instructions:
- text: Get an upload URL so I can send {file_name} ({content_type}, {size} bytes) to agent session {session_id}.
slots:
file_name: requestBody.fileName
content_type: requestBody.contentType
size: requestBody.sizeBytes
session_id: path.session_id
- text: Prepare a presigned upload for the agent in session {session_id} for file {file_name}.
slots:
session_id: path.session_id
file_name: requestBody.fileName
method: generated
generated: '2026-09-26'
- target: $.paths['/files/browsers/{session_id}/presigned-url'].post
update:
x-apievangelist-phrasing:
intent: Get an upload URL for a file in a browser session
effect: write
questions:
- How can I upload a file into a standalone cloud browser session I'm controlling?
- What details are needed to get a secure upload link for a raw browser session?
instructions:
- text: Generate an upload URL to put {file_name} ({content_type}, {size} bytes) into browser session {session_id}.
slots:
file_name: requestBody.fileName
content_type: requestBody.contentType
size: requestBody.sizeBytes
session_id: path.session_id
- text: Create a presigned upload link for file {file_name} in the cloud browser {session_id}.
slots:
file_name: requestBody.fileName
session_id: path.session_id
method: generated
generated: '2026-09-26'
- target: $.paths['/files/tasks/{task_id}/output-files/{file_id}'].get
update:
x-apievangelist-phrasing:
intent: Download a file an agent task produced
effect: read
questions:
- How do I download a file the AI agent generated while running a task?
- Where do I get a secure link to a task's output file?
instructions:
- text: Get a download link for output file {file_id} from task {task_id}.
slots:
file_id: path.file_id
task_id: path.task_id
- text: Fetch the file {file_id} that the agent created in task {task_id}.
slots:
file_id: path.file_id
task_id: path.task_id
method: generated
generated: '2026-09-26'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.