POST
/
v1
/
tools
/
perform-web-task
curl --request POST \
  --url https://api.anchorbrowser.io/v1/tools/perform-web-task \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '{
  "url": "https://anchorbrowser.io",
  "prompt": "What is anchor browser?"
}'
{
  "data": {
    "result": "The article discusses various secure browsers..."
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Query Parameters

sessionId
string

An optional browser session identifier to reference an existing running browser sessions. When passed, the tool will be executed on the provided browser session.

Body

application/json

Response

200
application/json

The result of the autonomous task.

The response is of type object.