Skip to main content
POST
Instruct

Description

Issues a natural language instruction to the browser. AI interprets the instruction and performs the necessary interactions, such as clicking, typing, navigating, and extracting content.

Authentication

Open-source deployments do not require authentication by default. If your server config enables X-API-Key, include that header with the request.

Path Parameters

string
required
The browser ID returned from Create Session.

Request Body

string
required
A natural language description of what the browser should do.

Response

boolean
Whether the instruction was completed successfully.
object
Result of the instruction. Structure depends on the instruction and configured AI provider.

Example