Skip to main content
POST
/
v1
/
browsers
/
{id}
/
instruct
Instruct
curl --request POST \
  --url https://api.example.com/v1/browsers/{id}/instruct/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "instruction": "<string>"
}
'
{
  "success": true,
  "data": {}
}

Description

Issues a natural language instruction to the browser. AI interprets the instruction and performs the necessary interactions — clicking, typing, navigating, and more — to carry it out.

Authentication

Authorization: Bearer YOUR_API_KEY

Path Parameters

id
string
required
UUID of the browser.

Request Body

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

Response

success
boolean
Whether the instruction was completed successfully.
data
object
Result of the instruction. Structure to be documented.

Example

curl -X POST https://api.rustybrowser.com/v1/browsers/550e8400-e29b-41d4-a716-446655440000/instruct/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "instruction": "Find the pricing table and return all plan names and prices" }'