Skip to content
Primary navigation

Create a new immutable skill version.

$ openai skills:versions create
POST/skills/{skill_id}/versions

Create a new immutable skill version.

ParametersExpand Collapse
--skill-id: string

The identifier of the skill to version.

--default: optional boolean

Whether to set this version as the default.

--files: optional array of string or string

Skill files to upload (directory upload) or a single zip file.

ReturnsExpand Collapse
skill_version: object { id, created_at, description, 4 more }
id: string

Unique identifier for the skill version.

created_at: number

Unix timestamp (seconds) for when the version was created.

description: string

Description of the skill version.

name: string

Name of the skill version.

object: "skill.version"

The object type, which is skill.version.

skill_id: string

Identifier of the skill for this version.

version: string

Version number for this skill.

Create a new immutable skill version.

openai skills:versions create \
  --api-key 'My API Key' \
  --skill-id skill_123
{
  "id": "id",
  "created_at": 0,
  "description": "description",
  "name": "name",
  "object": "skill.version",
  "skill_id": "skill_id",
  "version": "version"
}
Returns Examples
{
  "id": "id",
  "created_at": 0,
  "description": "description",
  "name": "name",
  "object": "skill.version",
  "skill_id": "skill_id",
  "version": "version"
}