SpyBara
Go Premium

resources/skills/methods/update/index.md 2026-10-29 23:59 UTC to 2026-10-30 23:59 UTC

This page contains 2 additions and 0 deletions.

2026
Wed 28 23:00 Thu 29 23:59 Fri 30 23:59

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

Update Skill Default Version

post /skills/{skill_id}

Update the default version pointer for a skill.

Path Parameters

  • skill_id: string

    The identifier of the skill.

Body Parameters

Content type: application/json

  • default_version: string

    The skill version number to set as default.

Returns

  • Skill object { id, created_at, default_version, 4 more }

    • id: string

      Unique identifier for the skill.

    • created_at: integer

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

      format: unixtime

    • 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" (default: "skill")

      The object type, which is skill.

      • "skill"

Example

curl https://api.openai.com/v1/skills/$SKILL_ID \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $OPENAI_API_KEY" \
    -d '{
          "default_version": "default_version"
        }'

200 — Example

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