---
title: "Update the default version pointer for a skill."
method: POST
path: "/skills/{skill_id}"
tags: ["Skills"]
---

# Update the default version pointer for a skill.

`POST /skills/{skill_id}`

## Path parameters

- `skill_id` string, required

## Request body

- SetDefaultSkillVersionBody — Updates the default version pointer for a skill.
  - `default_version` string, required — The skill version number to set as default.

## Response `200`

Success

- SkillResource
  - `id` string, required — Unique identifier for the skill.
  - `object` 'skill', required — The object type, which is `skill`.
  - `name` string, required — Name of the skill.
  - `description` string, required — Description of the skill.
  - `created_at` integer, required — Unix timestamp (seconds) for when the skill was created.
  - `default_version` string, required — Default version for the skill.
  - `latest_version` string, required — Latest version for the skill.

## Other responses

- `429` — The request was rejected because a rate limit was exceeded.

## Changes

> 82 revisions in range; 8 could not be searched.

- **2026-08-14** `6ac2618eefd7` — 1 info
  - added the non-success response with the status `429`
- **2026-08-05** `ab0c5306e390` — 1 breaking
  - removed the media type `application/x-www-form-urlencoded` from the request body
- **2026-05-13** `74cbcf73838f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openai/apis/openapi/changes/skills/:skill_id/post.md)

---

[API](https://skmtc.dev/openai/apis/openapi.md) · [All operations](https://skmtc.dev/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openai/openapi/revisions/959ef977e135/schema)
