---
title: "Create a new immutable skill version."
method: POST
path: "/skills/{skill_id}/versions"
tags: ["Skills"]
---

# Create a new immutable skill version.

`POST /skills/{skill_id}/versions`

Create a new immutable skill version.

## Path parameters

- `skill_id` string, required

## Request body

- CreateSkillVersionBody — Uploads a new immutable version of a skill.
  - `files` union
    - string[] — Skill files to upload (directory upload) or a single zip file.
    - string, binary — Skill zip file to upload.
  - `default` boolean — Whether to set this version as the default.

## Response `200`

Success

- SkillVersionResource
  - `object` 'skill.version', required — The object type, which is `skill.version`.
  - `id` string, required — Unique identifier for the skill version.
  - `skill_id` string, required — Identifier of the skill for this version.
  - `version` string, required — Version number for this skill.
  - `created_at` integer, required — Unix timestamp (seconds) for when the version was created.
  - `name` string, required — Name of the skill version.
  - `description` string, required — Description of the skill version.

---

[API](https://skmtc.net/openai/apis/openai-api.md) · [All operations](https://skmtc.net/openai/apis/openai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openai-api/revisions/dcd35773a322/schema)
