---
title: "Publish a new version of a skill"
method: POST
path: "/api/skills/{slug}/versions"
tags: ["Skills"]
---

# Publish a new version of a skill

`POST /api/skills/{slug}/versions`

## Request

- Base URL: `https://api.memcore.global-soft.ro`
- URL: `https://api.memcore.global-soft.ro/api/skills/{slug}/versions`
- Auth: one of:
  - API key in cookie `authjs.session-token`
  - HTTP bearer

## Path parameters

- `slug` string, required

## Request body

- object
  - `body` string, required
  - `changelog` string

## Response `201`

Version published

- SkillVersion
  - `id` string
  - `skill_id` string
  - `version` string
  - `body` string
  - `changelog` string, nullable
  - `created_at` string, date-time

## Other responses

- `422`: Validation failed

---

[API](https://skmtc.dev/kognite/apis/memcore-api.md) · [All operations](https://skmtc.dev/kognite/apis/memcore-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kognite/apis/memcore-api/revisions/73e03a22eec8?raw)
