---
title: "Upgrade ability"
method: POST
path: "/abilities/{id}/upgrade"
tags: ["Abilities Management"]
---

# Upgrade ability

`POST /abilities/{id}/upgrade`

Upgrades the ability with the matching ability id to the specified or latest version.

## Path parameters

- `id` string, required

## Query parameters

- `version` string

## Response `200`

Ability upgraded

## Other responses

- `400` — Invalid request
- `404` — Ability not found

## Changes

- **2024-10-02** `c9062e3a3c54` — 1 info
  - the endpoint scheme security `jwt` was added to the API
- **2024-10-02** `936529d30a41` — 1 info
  - the endpoint scheme security `jwt` was removed from the API
- **2024-09-18** `041ec1a0e403` — 2 info
  - the endpoint scheme security `jwt` was added to the API
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2024-08-08** `d53276437f78` — 1 info
  - the endpoint scheme security `cookieAuth` was added to the API
- **2024-06-07** `8ed0ccbdb5a6` — 1 breaking, 1 warning
  - for the `path` request parameter `id`, the minLength was increased from `0` to `2`
  - for the `path` request parameter `id`, the maxLength was set to `100`

[Full history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/abilities/:id/upgrade/post.md)

---

[API](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pai-os/personal-artificial-intelligence-operating-system-pai-os-api/revisions/3c144b366e19/schema)
