Skip to main content
POST
cURL
Related guide: Skills guide. See the Skills guide for a walkthrough with examples.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

skill_id
string
required

Skill ID or display name to update.

Body

application/json
old_path
string
required

Current relative path of the file within the skill bundle.

new_path
string
required

New relative path for the file within the skill bundle, including any subdirectory components (e.g. "scripts/extract.py").

Response

OK

skill
object
required

Updated skill.