Skill Upload
Endpoint to upload and create a skill from a SKILL.md file.
Args: file (UploadFile): The SKILL.md file to upload.
Returns: Skill: The created skill object.
Raises: HTTPException 400: If file validation fails HTTPException 409: If the skill creation fails.
Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Body
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)
