Create Skill Version
api/beta/skills/versions/create
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/beta/skills/versions/create Changed · +18 / -13 lines
# Create Skill Version ## Path parameters ## Headers ## Body parameters (form-data) ## Returns ## Example ### Response (200) ## Create Skill Version ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Create Skill Version -url: https://platform.claude.com/docs/en/api/beta/skills/versions/create ---- +# Create Skill Version -## Create Skill Version +**POST** `/v1/skills/{skill_id}/versions` -**post** `/v1/skills/{skill_id}/versions` - Create Skill Version -### Path Parameters +## Path parameters - `skill_id: string`
The format and length of IDs may change over time. -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Body parameters (form-data) +- `files: array of string` + + Files to upload for the skill. + + All files must be in the same top-level directory and must include a SKILL.md file at the root of that directory. + +## Returns + - `id: string` Unique identifier for the skill version.
For Skill Versions, this is always `"skill_version"`. + default: skill_version + - `version: string` Version identifier for the skill.
Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129"). -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions \ -H 'Content-Type: multipart/form-data' \ -H 'anthropic-version: 2023-06-01' \
-F files='["Example data"]' ``` -#### Response +### Response (200) ```json {