Learning resourcesReviewed · Browser Use

Browser Use Cloud V4 Structured Output Guide

Browser Use’s structured-output guide helps developers turn Cloud V4 browser-agent answers into structured data, but dashboard runs cannot use the feature. It explains JSON Schema validation, Python and TypeScript integration, and direct REST requests. SDK support is documented as arriving in the first release after 3.11.3; that version requires REST.

Researched 14 Nov 2026

In short.

Browser Use’s structured-output guide teaches developers to request predictable data from Cloud V4 browser agents, with availability limited to API-key runs. A submitted JSON Schema defines the expected structure: successful runs expose parsed JSON in run.output while retaining text in run.result, and schema mismatches fail the run. Examples demonstrate Pydantic, Zod and REST, including completion checks and application-side validation. The main integration considerations are SDK compatibility, schema limits and explicit failure handling. Schema conformity does not establish factual accuracy, and the examples provide no measured reliability, latency or task cost. Nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is the complete captured documentation page at [https://docs.browser-use.com/cloud/agent/structured-output.md], including its SDK compatibility note, examples, schema limits and shared Cloud notices. Relevant notices support the authentication, API-version and billing details. Linked pages, documentation bundles, SDK packages, pricing pages and image content are excluded. No code or API requests were executed; example results, runtime reliability, latency and total task cost remain unassessed.

The overview

Identity

This is Browser Use’s documentation guide for structured output in its hosted Cloud Agent V4 API, available at [https://docs.browser-use.com/cloud/agent/structured-output.md]. It teaches an integration feature rather than providing a standalone application.

The examples use browser-use-sdk with explicit V4 imports. The page’s shared notices distinguish the hosted SDK from the open-source browser-use library, which has a different API.

Assessment

The guide is useful when an application needs named, typed fields from a browser agent. It documents both the successful response path and what happens when the agent cannot satisfy the requested structure.

Its examples include completion checks and local validation, which make the integration guidance practical. However, a valid structure does not prove that extracted information is correct. Runtime behavior, accuracy and reliability have not been assessed through execution.

Users

The guide fits developers building browser-based extraction or automation whose results must feed another application. Beginners get a small example with two fields; experienced developers get request names, response fields, schema constraints and error behavior.

Familiarity with HTTP requests and JSON helps with the REST example. The Python and TypeScript paths also assume familiarity with their respective validation libraries. Dashboard-only users cannot use this feature through dashboard-started runs.

Capabilities

A run accepts a JSON Schema through output_schema in Python or outputSchema in TypeScript and REST. After successful completion, run.output contains the parsed JSON value and run.result retains the text answer.

The examples generate schemas from Pydantic or Zod definitions, while REST accepts a schema directly. JSON Schema 2020-12 is the default unless the schema declares another version through $schema. References must point within the submitted schema.

Using it

Requirements

The feature requires a Browser Use Cloud API key and an API-key run. The documented authentication header is X-Browser-Use-API-Key, without a Bearer prefix.

SDK support for the schema request fields and run.output is documented as shipping in the first browser-use-sdk release after 3.11.3. The guide directs users of 3.11.3 to REST but does not identify the subsequent release number. The Python example uses Pydantic, and the TypeScript example uses Zod; compatible versions of those libraries are not specified.

Mechanism

The application supplies a task and schema when creating a run. Browser Use checks the agent’s final answer against that schema and exposes parsed output when the run completes successfully.

If the agent cannot produce a matching answer, the documented failure message is Could not produce output matching outputSchema. The examples also validate the returned value locally with Pydantic or Zod. The page does not explain internal retries or how schema compliance is achieved during generation.

Setup

For an SDK integration, use the explicit V4 import, define the expected data model, convert it to JSON Schema and pass it when creating the run. Wait for completion, check the terminal status and validate output before using it.

For REST, send a POST request to [https://api.browser-use.com/api/v4/runs] with the API-key header, task and outputSchema. Poll the run’s GET endpoint until its status is completed, failed or cancelled. Read output only for completed runs; otherwise inspect error. The shared notices warn that a client timeout does not cancel the server-side run.

Example

The documented task asks the agent to find the top Hacker News story and its points. The requested object contains title and points, making the example relevant to a small extraction job.

Python defines title as a string and points as an integer, then validates run.output with Story.model_validate. TypeScript uses z.string() and z.number(), then validates with Story.parse. The REST schema requires both fields and specifies points as an integer. No actual story, returned JSON or execution result is supplied.

Assessment & evidence

Limitations

Structured output is limited to API-key runs; runs started from the dashboard return HTTP 422. The documented schema limits are 64 KiB, 64 nesting levels and about 4,000 values, counting every key’s value and each array item. References must use internal paths beginning with #/.

Schema mismatches fail the run, so callers need an error path. The page does not establish exhaustive schema-keyword support, retry guarantees, extraction accuracy or latency. A schema can require a numeric points field without proving that the number matches the website.

Reasoning

The practical benefit is a clearer interface between an AI agent and ordinary application code: the application can request fields and types instead of interpreting free-form prose. The documented rejection of nonmatching output makes failure handling an explicit part of that interface.

This supports a fit for downstream data processing, but it also creates a dependency on schema design and successful agent completion. Server validation and local parsing address structure; factual checks and verification of important external actions remain separate responsibilities.

Alternatives

The documented integration choices are Python with Pydantic, TypeScript with Zod, and direct REST with a handwritten schema. REST is the stated path when using SDK 3.11.3. Applications that also need a readable answer can access run.result alongside structured output.

The page does not compare competing browser-agent services or demonstrate equivalent structured output through the open-source library. It provides no evidence for ranking those alternatives by cost, accuracy or speed.

Evidence

The evidence is the complete captured text of Browser Use’s documentation at [https://docs.browser-use.com/cloud/agent/structured-output.md], captured on November 14, 2026. It includes the feature explanation, three integration examples, compatibility note, limits and shared Cloud notices.

These are publisher-documented behaviors, with no accompanying execution transcript, benchmark or independent validation. Linked documentation, pricing, release records and image content are outside the evidence supplied here.

Access & freshness

Costs

The shared notices describe Cloud as pay as you go and give an infrastructure example of 50 browsers for one hour costing $3 plus traffic. That example does not establish the complete cost of a structured-output task.

The page does not state whether structured output has a separate fee or provide enough model, traffic and usage information to calculate the Hacker News example’s cost. Total task cost is unknown. The notices also say idle agent browsers remain billable and link current rates at [https://browser-use.com/pricing]; that linked page is outside the supplied evidence.

Rights

The supplied page contains no explicit license or redistribution permission for its documentation or examples. Rights to republish the captured page or redistribute its code examples are therefore unknown.

The Mintlify hosting credit does not establish a license. Commercial service terms, ownership of generated output and applicable data-use terms are not established by this page.

Freshness

The capture date is November 14, 2026. The page does not provide a publication or last-update date for the structured-output feature.

The most consequential compatibility detail is the statement that SDK support arrives in the first release after 3.11.3. The exact supporting release and compatibility with any installed SDK remain unknown. Current pricing and later API changes are not established by this capture.

Actions

Before integrating, confirm that the installed SDK exposes output_schema or outputSchema and run.output, or use the documented REST path. Keep the schema within the stated limits and make field types consistent between the schema and application model.

Handle all terminal statuses, validate completed output locally and verify important returned facts independently. The Hacker News example provides a small starting task for measuring correctness, latency and actual charges. Those outcomes have not been established by the supplied examples.

Evidence for this report

selected-page.txtselected · checked 2026-11-14