Spaces method and path for this operation:
put /s/{space_id}/api/agent_builder/skills/{skillId}
Refer to Spaces for more information.
Update an existing user-created skill. To learn more about Agent Builder skills, refer to the skills documentation.
[Required authorization] Route required privileges: agentBuilder:manageSkills.
PUT
/api/agent_builder/skills/{skillId}
curl
curl \
-X PUT "https://${KIBANA_URL}/api/agent_builder/skills/{skillId}" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "kbn-xsrf: true" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Skill Name",
"description": "Updated description for the skill."
}'
PUT kbn:/api/agent_builder/skills/{skillId}
{
"name": "Updated Skill Name",
"description": "Updated description for the skill."
}
Request example
Example request to update a user-defined skill
{
"content": "Updated skill instructions content.",
"description": "Updated description for the skill.",
"name": "Updated Skill Name",
"tool_ids": [
"platform.core.search",
"platform.core.execute_esql"
]
}
Response examples (200)
Example response returning the updated skill
{
"content": "Updated skill instructions content.",
"description": "Updated description for the skill.",
"experimental": false,
"id": "my-custom-skill",
"name": "Updated Skill Name",
"readonly": false,
"tool_ids": [
"platform.core.search",
"platform.core.execute_esql"
]
}