Skill Get
Endpoint to retrieve a skill by its unique ID.
Args: skill_id: The ID of the skill to retrieve. include_optional_files: If true (default), include scripts, references, and assets. Set to false for a lighter response when only SKILL.md metadata/content is needed.
Returns: Skill: A Skill model instance representing the requested skill.
Raises: HTTPException 400: If input validation fails HTTPException 404: If the skill with the specified ID does not exist. HTTPException 500: If database operation fails
Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Path Parameters
Query Parameters
If false, omit scripts, references, and assets for a smaller response.
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)
