Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Theme

Get Skill Version

skills.versions.retrieve(version, **kwargs) -> SkillVersion { id, created_at, description, 4 more }
GET
/skills/{skill_id}/versions/{version}

Get a specific skill version.

Get Skill Version

require "openai"

openai = OpenAI::Client.new(api_key: "My API Key")

skill_version = openai.skills.versions.retrieve("version", skill_id: "skill_123")

puts(skill_version)
200 — Example
{
  "id": "id",
  "created_at": 0,
  "description": "description",
  "name": "name",
  "object": "skill.version",
  "skill_id": "skill_id",
  "version": "version"
}
Parameters
skill_id: String
version: String

The version number to retrieve.

Returns
class SkillVersion { id, created_at, description, 4 more }
id: String

Unique identifier for the skill version.

created_at: Integer

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

formatunixtime
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.

Returns Examples
200 — Example
{
  "id": "id",
  "created_at": 0,
  "description": "description",
  "name": "name",
  "object": "skill.version",
  "skill_id": "skill_id",
  "version": "version"
}