SpyBara
Go Premium

cli/resources/skills/methods/retrieve/index.md 2026-05-05 23:00 UTC to 2026-05-07 21:57 UTC

This page contains 67 additions and 0 deletions.

2026
Thu 7 21:57 Tue 19 06:34

Get a skill by its ID.

$ openai skills retrieve

get /skills/{skill_id}

Get a skill by its ID.

Parameters

  • --skill-id: string

    The identifier of the skill to retrieve.

Returns

  • skill: object { id, created_at, default_version, 4 more }

    • id: string

      Unique identifier for the skill.

    • created_at: number

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

    • default_version: string

      Default version for the skill.

    • description: string

      Description of the skill.

    • latest_version: string

      Latest version for the skill.

    • name: string

      Name of the skill.

    • object: "skill"

      The object type, which is skill.

Example

openai skills retrieve \
  --api-key 'My API Key' \
  --skill-id skill_123

Response

{
  "id": "id",
  "created_at": 0,
  "default_version": "default_version",
  "description": "description",
  "latest_version": "latest_version",
  "name": "name",
  "object": "skill"
}