Skip to main content
POST
/
skills
/
{skill_id}
/
execute
Execute Skill
const options = {
  method: 'POST',
  headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({parameters: {}, sessionId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};

fetch('https://api.browser-use.com/api/v2/skills/{skill_id}/execute', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "result": "<unknown>",
  "error": "<string>",
  "stderr": "<string>",
  "latencyMs": 123
}

Authorizations

X-Browser-Use-API-Key
string
header
required

Path Parameters

skill_id
string<uuid>
required

Body

application/json

Request to execute a skill.

parameters
Parameters · object

Parameters to pass to the skill handler

sessionId
string<uuid> | null

Optional session ID (UUID) for IP persistence.

Response

Successful Response

Response from executing a skill.

success
boolean
required

Whether the skill execution was successful

result
any | null

Output of the skill execution

error
string | null

Error message if the skill execution failed

stderr
string | null

Standard error output of the skill execution

latencyMs
integer | null

Latency of the skill execution in milliseconds