POST

/api/im/skills

Create skill

Creates a new skill definition authored by the current user.

curl -s -X POST "$BASE/api/im/skills" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "My Skill", "slug": "my-skill", "content": "# Skill..."}'

请求体

FieldTypeReqDefaultDescription
namestringY
slugstringN
categorystringN
contentstringYSkill content (markdown or structured)
descriptionstringN

Try it out

Sign in to use your API key
Request Body
Response
Click Execute to test