Update Skill
Update skill metadata (name, description, enabled, etc.).
PATCH
/
skills
/
{skill_id}
Update Skill
const options = {
method: 'PATCH',
headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
categories: [],
domains: ['<string>'],
isEnabled: true
})
};
fetch('https://api.browser-use.com/api/v2/skills/{skill_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request PATCH \
--url https://api.browser-use.com/api/v2/skills/{skill_id} \
--header 'Content-Type: application/json' \
--header 'X-Browser-Use-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"description": "<string>",
"categories": [],
"domains": [
"<string>"
],
"isEnabled": true
}
'import requests
url = "https://api.browser-use.com/api/v2/skills/{skill_id}"
payload = {
"title": "<string>",
"description": "<string>",
"categories": [],
"domains": ["<string>"],
"isEnabled": True
}
headers = {
"X-Browser-Use-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"categories": [
"search"
],
"domains": [
"<string>"
],
"status": "recording",
"parameters": [
{
"name": "<string>",
"type": "string",
"required": true,
"description": "<string>",
"default": null,
"cookieDomain": "<string>"
}
],
"outputSchema": {},
"isEnabled": true,
"isPublic": true,
"currentVersion": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"slug": "<string>",
"goal": "<string>",
"agentPrompt": "<string>",
"iconUrl": "<string>",
"firstPublishedAt": "2023-11-07T05:31:56Z",
"lastPublishedAt": "2023-11-07T05:31:56Z",
"currentVersionStartedAt": "2023-11-07T05:31:56Z",
"currentVersionFinishedAt": "2023-11-07T05:31:56Z",
"code": "<string>",
"clonedFromSkillId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"detail": "Enabled skills limit exceeded for your plan"
}{
"detail": "Skill not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Request to update skill metadata.
Response
Successful Response
Skill information returned by the API.
Was this page helpful?
⌘I
Update Skill
const options = {
method: 'PATCH',
headers: {'X-Browser-Use-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
categories: [],
domains: ['<string>'],
isEnabled: true
})
};
fetch('https://api.browser-use.com/api/v2/skills/{skill_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request PATCH \
--url https://api.browser-use.com/api/v2/skills/{skill_id} \
--header 'Content-Type: application/json' \
--header 'X-Browser-Use-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"description": "<string>",
"categories": [],
"domains": [
"<string>"
],
"isEnabled": true
}
'import requests
url = "https://api.browser-use.com/api/v2/skills/{skill_id}"
payload = {
"title": "<string>",
"description": "<string>",
"categories": [],
"domains": ["<string>"],
"isEnabled": True
}
headers = {
"X-Browser-Use-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"categories": [
"search"
],
"domains": [
"<string>"
],
"status": "recording",
"parameters": [
{
"name": "<string>",
"type": "string",
"required": true,
"description": "<string>",
"default": null,
"cookieDomain": "<string>"
}
],
"outputSchema": {},
"isEnabled": true,
"isPublic": true,
"currentVersion": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"slug": "<string>",
"goal": "<string>",
"agentPrompt": "<string>",
"iconUrl": "<string>",
"firstPublishedAt": "2023-11-07T05:31:56Z",
"lastPublishedAt": "2023-11-07T05:31:56Z",
"currentVersionStartedAt": "2023-11-07T05:31:56Z",
"currentVersionFinishedAt": "2023-11-07T05:31:56Z",
"code": "<string>",
"clonedFromSkillId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"detail": "Enabled skills limit exceeded for your plan"
}{
"detail": "Skill not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}