---
title: "Update a skill"
method: POST
path: "/skills/{slug}/update"
tags: ["Skills"]
---

# Update a skill

`POST /skills/{slug}/update`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/skills/{slug}/update`
- Auth: API key in header `Authorization`

Updates an installed skill to the catalog's current `version`. Check `update_available` first: on a skill that is already current this changes nothing. Updating a skill that isn't installed returns an error.

## Path parameters

- `slug` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Skill updated

- AiSkill
  - `object` string, required
  - `id` string, required
  - `slug` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `category` string, nullable, required
  - `tags` string[], nullable, required
  - `version` string, required
  - `creator_name` string, nullable, required
  - `creator_avatar_url` string, nullable, required
  - `install_count` integer, required
  - `status` 'draft' | 'published' | 'archived', required
  - `visibility` 'public' | 'private', required: `private` is a skill this account uploaded: only this account sees it, and it is not in the public catalog.
  - `install_status` string, nullable, required
  - `installed_version` string, nullable, required: The version this account installed. Null unless installed.
  - `update_available` boolean, required: True when the catalog `version` is newer than `installed_version`: POST /skills/{slug}/update installs it.
  - `external_source` string, nullable, required
  - `external_url` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
