Get Skill
api/skills/retrieve
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/skills/retrieve Changed · +13 / -14 lines
# Get Skill ## Path parameters ## Returns ## Example ### Response (200) ## Get Skill ### Path Parameters ### Returns ### Example #### Response
---- -title: Get Skill -url: https://platform.claude.com/docs/en/api/skills/retrieve ---- +# Get Skill -## Get Skill +**GET** `/v1/skills/{skill_id}` -**get** `/v1/skills/{skill_id}` - Get Skill -### Path Parameters +## Path parameters - `skill_id: string`
The format and length of IDs may change over time. -### Returns +## Returns -- `Skill object { id, created_at, display_name, 4 more }` +- `Skill object` - `id: string`
ISO 8601 timestamp of when the skill was created. + format: date-time + - `display_name: string` Human-readable, single-line label for the Skill. Maximum 255 characters.
For Skills, this is always `"skill"`. - - `"skill"` + default: skill - `updated_at: string` ISO 8601 timestamp of when the skill was last updated. -### Example + format: date-time -```http +## Example + +```bash curl https://api.anthropic.com/v1/skills/$SKILL_ID \ -H 'anthropic-version: 2023-06-01' \ -H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {