Skill Update
Endpoint to update an existing skill by its ID.
Args: skill_id: The unique identifier of the skill to update. skill_update: The updated skill data.
Returns: Skill: The updated skill object.
Raises: HTTPException 400: If input validation fails HTTPException 404: If the skill with the given ID does not exist. HTTPException 500: If a runtime error occurs during the update process.
Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Path Parameters
Body
Name of the skill
Description of the skill
Full SKILL.md content
Optional license field
Optional compatibility field
Optional metadata dict
Optional allowed-tools field
Status of the skill: active or disabled
Optional scripts/ files: path -> content (per Agent Skills spec)
Optional references/ files: path -> content (per Agent Skills spec)
Optional assets/ files: path -> content (per Agent Skills spec)
Response
Successful Response
Unique identifier for the skill
Name of the skill
Description of the skill
Full SKILL.md content
User who created the skill
The date and time when the skill was created.
The date and time when the skill was last updated.
License field
Compatibility field
Metadata dict
Allowed-tools field
Status of the skill: active or disabled
Optional scripts/ files (path -> content)
Optional references/ files (path -> content)
Optional assets/ files (path -> content)
