List Skill Versions
api/skills/versions/list
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/versions/list Changed · +13 / -14 lines
# List Skill Versions ## Path parameters ## Query parameters ## Returns ## Example ### Response (200) ## List Skill Versions ### Path Parameters ### Query Parameters ### Returns ### Example #### Response
---- -title: List Skill Versions -url: https://platform.claude.com/docs/en/api/skills/versions/list ---- +# List Skill Versions -## List Skill Versions +**GET** `/v1/skills/{skill_id}/versions` -**get** `/v1/skills/{skill_id}/versions` - List Skill Versions -### Path Parameters +## Path parameters - `skill_id: string`
The format and length of IDs may change over time. -### Query Parameters +## Query parameters - `limit: optional number`
Ranges from `1` to `1000`. Defaults to `20`. + default: 20, minimum: 1, maximum: 1000 + - `page: optional string` Optionally set to the `next_page` token from the previous response. -### Returns +## Returns - `data: array of SkillVersion`
ISO 8601 timestamp of when the skill was created. + format: date-time + - `description: string` Description of the skill version.
For Skill Versions, this is always `"skill_version"`. - - `"skill_version"` + default: skill_version - `next_page: string or null`
If `null`, there are no more results available. Pass this value to the `page` parameter in the next request to get the next page. -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions \ -H 'anthropic-version: 2023-06-01' \ -H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {