Get Skill
beta.skills.retrieve(skill_id, **kwargs) -> SkillRetrieveResponse { id, created_at, display_title, 4 more }
/v1/skills/{skill_id}
Get Skill
Parameters
Returns
Get Skill
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
skill = anthropic.beta.skills.retrieve("skill_id")
puts(skill)Response 200
{
"id": "skill_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_title": "My Custom Skill",
"latest_version": "1759178010641129",
"source": "custom",
"type": "type",
"updated_at": "2024-10-30T23:58:27.427722Z"
}Returns Examples
Response 200
{
"id": "skill_01JAbcdefghijklmnopqrstuvw",
"created_at": "2024-10-30T23:58:27.427722Z",
"display_title": "My Custom Skill",
"latest_version": "1759178010641129",
"source": "custom",
"type": "type",
"updated_at": "2024-10-30T23:58:27.427722Z"
}