Spaces method and path for this operation:
post /s/{space_id}/api/agent_builder/skills
Refer to Spaces for more information.
Create a new user-defined skill.
[Required authorization] Route required privileges: manage_agent_builder.
POST
/api/agent_builder/skills
curl \
--request POST 'https://localhost:5601/api/agent_builder/skills' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"content":"string","description":"string","id":"string","name":"string","referenced_content":[{"content":"string","name":"string","relativePath":"string"}],"tool_ids":[]}'