---
title: "Create Skill Version"
method: POST
path: "/skills/{skill_id}/versions"
tags: ["Skills"]
---

# Create Skill Version

`POST /skills/{skill_id}/versions`

## Request

- Base URL: `https://api.openai.com/v1`
- URL: `https://api.openai.com/v1/skills/{skill_id}/versions`
- Auth: HTTP bearer

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, required
    - 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.

## Other responses

- `400`: The uploaded skill files or archive are invalid.
- `404`: The skill was not found.
- `429`: The request was rejected because a rate limit was exceeded.
- `500`: The skill version could not be saved.

## Changes

- **2026-10-06** `487892d3954e`: 4 info
  - added the optional property `error/misalignment/review_target` to the response with the `400` status
  - added the optional property `error/misalignment/review_target` to the response with the `404` status
  - added the optional property `error/misalignment/review_target` to the response with the `429` status
  - added the optional property `error/misalignment/review_target` to the response with the `500` status
- **2026-10-05** `7f654af7f94f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnistack-sh/apis/openai-api/changes/skills/:skill_id/versions/post.md)

---

[API](https://skmtc.dev/omnistack-sh/apis/openai-api.md) - [All operations](https://skmtc.dev/omnistack-sh/apis/openai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnistack-sh/apis/openai-api/revisions/0a26f104d35f?raw)
